Skip to content

Commit

Permalink
Merge pull request #44 from TheRealFalseReality/test
Browse files Browse the repository at this point in the history
Test
  • Loading branch information
TheRealFalseReality authored Jan 15, 2024
2 parents 8d1f906 + f8f0b49 commit a7351b1
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 5 deletions.
2 changes: 1 addition & 1 deletion aquapi_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ substitutions:
name: "aquapi"
friendly_name: "AquaPi"
# App Version - Updated: 11/2023
app_version: "1.3.6"
app_version: "1.4"

packages:
device_base: !include common/device_base.yaml
Expand Down
8 changes: 4 additions & 4 deletions common/binary.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
substitutions:
opticalLowPin: "32"
opticalHighPin: "33"
auxPin1: "26"
auxPin2: "27"
opticalLowPin: "32" # yellow
opticalHighPin: "33" # blue
auxPin1: "26" # yellow
auxPin2: "27" # blue
# Water Level
update_water: "60s"

Expand Down
28 changes: 28 additions & 0 deletions common/temperature_dallas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ sensor:
icon: mdi:thermometer-lines
index: 0
name: "Temperature"
state_class: "measurement"
device_class: "temperature"
filters:
- calibrate_linear:
method: least_squares
Expand All @@ -39,6 +41,8 @@ sensor:
icon: mdi:thermometer-lines
index: 1
name: "Temperature 2"
state_class: "measurement"
device_class: "temperature"
filters:
- calibrate_linear:
method: least_squares
Expand Down Expand Up @@ -106,6 +110,30 @@ sensor:
lambda: |-
return {${cal_100_2}};
binary_sensor:
- platform: template
name: Ideal Temperature
id: ideal_temp
icon: mdi:thermometer-check
lambda: |-
if (id(temp_range).state == "OK") {
return true;
} else {
return false;
}
- platform: template
name: Ideal Temperature 2
id: ideal_temp_2
icon: mdi:thermometer-check
disabled_by_default: true
lambda: |-
if (id(temp_range_2).state == "OK") {
return true;
} else {
return false;
}
text_sensor:
# Temperature Range 1
- platform: template
Expand Down

0 comments on commit a7351b1

Please sign in to comment.