Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test #44

Merged
merged 10 commits into from
Jan 15, 2024
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