Correctly set voltage thresholds

According to 5528 scale and ESP32 ADC attenuation.
This commit is contained in:
2023-10-24 17:06:43 +02:00
parent 12e93733d5
commit 1bc5fdf926
+6 -2
View File
@@ -74,6 +74,8 @@ sensor:
pin: GPIO32
update_interval: 1s
id: furnace_led_brightness
attenuation: auto
# Make voltage value available in UI for debugging and history.
name: "Furnace LED brightness"
entity_category: diagnostic
disabled_by_default: true
@@ -82,6 +84,8 @@ sensor:
pin: GPIO33
update_interval: 1s
id: heating_led_brightness
attenuation: auto
# Make voltage value available in UI for debugging and history.
name: "Floor heating LED brightness"
entity_category: diagnostic
disabled_by_default: true
@@ -91,7 +95,7 @@ binary_sensor:
id: furnace_burning
name: "Furnace burning"
sensor_id: furnace_led_brightness
threshold: 0.7
threshold: 1.8
filters:
- invert:
@@ -99,7 +103,7 @@ binary_sensor:
id: heating_enabled
name: "Floor heating active"
sensor_id: heating_led_brightness
threshold: 0.7
threshold: 1.8
filters:
- invert: