]> www.infradead.org Git - users/dwmw2/esp32-pool.git/commitdiff
Add absolute humidity
authorDavid Woodhouse <dwmw@amazon.co.uk>
Tue, 11 Feb 2025 18:57:24 +0000 (18:57 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Tue, 11 Feb 2025 18:57:24 +0000 (18:57 +0000)
kitchen.yaml

index 8f281d5dfb675071ffab45ff19d3f4d363fab1ad..c33afd7a4508d0ec74f2c6c7dd7e2c61ae68e0ad 100644 (file)
@@ -69,11 +69,11 @@ time:
     on_time:
       - seconds: 0
         minutes: 0
-        hours: 6
+        hours: 7
         then:
           climate.control:
             id: ntc_climate
-            target_temperature: 12°C
+            target_temperature: 21°C
 
       - seconds: 0
         minutes: 30
@@ -81,7 +81,7 @@ time:
         then:
           climate.control:
             id: ntc_climate
-            target_temperature: 10°C
+            target_temperature: 16°C
 
 mqtt:
   on_connect:
@@ -107,12 +107,17 @@ light:
     restore_mode: ALWAYS_OFF
 
 sensor:
+  - platform: absolute_humidity
+    id: cooker_abs_hum
+    name: Cooker Absolute Humidity
+    temperature: cooker_temp
+    humidity: cooker_hum
+    on_value:
+      - lambda: |-
+          id(tell_domo_nsvalues)->execute(919, 1,std::to_string(x));
   - platform: dht
     pin:
       number: GPIO33
-      mode:
-        input: true
-        pullup: true
     model: DHT22
     temperature:
       id: cooker_temp