diff --git a/aquapi_config.yaml b/aquapi_config.yaml index f19a4e2..9c5d814 100644 --- a/aquapi_config.yaml +++ b/aquapi_config.yaml @@ -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 diff --git a/common/binary.yaml b/common/binary.yaml index e0b5456..1903eb2 100644 --- a/common/binary.yaml +++ b/common/binary.yaml @@ -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" diff --git a/common/temperature_dallas.yaml b/common/temperature_dallas.yaml index 766b0c1..dfafd43 100644 --- a/common/temperature_dallas.yaml +++ b/common/temperature_dallas.yaml @@ -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 @@ -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 @@ -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