diff --git a/everything-presence-one-beta.yaml b/everything-presence-one-beta.yaml index e576969..62288d4 100644 --- a/everything-presence-one-beta.yaml +++ b/everything-presence-one-beta.yaml @@ -149,6 +149,8 @@ sensor: - 79.8 -> 197.1 - 84.3 -> 205.7 - lambda: "return x + id(illuminance_offset_ui).state;" + - clamp: + min_value: 0 - platform: template name: Target 1 Distance # Don't change diff --git a/everything-presence-one-st.yaml b/everything-presence-one-st.yaml index e770e23..6b2cf26 100644 --- a/everything-presence-one-st.yaml +++ b/everything-presence-one-st.yaml @@ -107,6 +107,9 @@ sensor: - 71.5 -> 176.9 - 79.8 -> 197.1 - 84.3 -> 205.7 + - clamp: + min_value: 0 + binary_sensor: - platform: gpio diff --git a/everything-presence-one.yaml b/everything-presence-one.yaml index 132e906..4c677e9 100644 --- a/everything-presence-one.yaml +++ b/everything-presence-one.yaml @@ -147,6 +147,8 @@ sensor: - 79.8 -> 197.1 - 84.3 -> 205.7 - lambda: "return x + id(illuminance_offset_ui).state;" + - clamp: + min_value: 0 binary_sensor: - platform: gpio