diff espNode/bed.yaml @ 1737:c480732442ec

reformat
author drewp@bigasterisk.com
date Fri, 01 Sep 2023 17:10:47 -0700
parents 5eac87c0f5b6
children 28a3e35bc23f
line wrap: on
line diff
--- a/espNode/bed.yaml	Fri Sep 01 13:52:39 2023 -0700
+++ b/espNode/bed.yaml	Fri Sep 01 17:10:47 2023 -0700
@@ -19,9 +19,9 @@
 logger:
   baud_rate: 115200
   level: DEBUG
-  
+
 ota:
-  
+
 #dallas:
 #  - pin: GPIO16
 #sensor:
@@ -30,16 +30,16 @@
 #    name: temperature
 
 switch:
-  - {platform: gpio, pin: {mode: INPUT_PULLUP, number: 2, inverted: yes}, name: red_button}
-  - {platform: gpio, pin: {mode: INPUT_PULLUP, number: 15, inverted: yes}, name: green_button}
-  - {platform: gpio, pin: GPIO16, name: pir}
-  
+  - { platform: gpio, pin: { mode: INPUT_PULLUP, number: 2, inverted: yes }, name: red_button }
+  - { platform: gpio, pin: { mode: INPUT_PULLUP, number: 15, inverted: yes }, name: green_button }
+  - { platform: gpio, pin: GPIO16, name: pir }
+
 output:
-  - {platform: ledc, pin: GPIO19, id: headboard_w }
-  - {platform: ledc, pin: GPIO23, id: headboard_r }
-  - {platform: ledc, pin: GPIO18, id: headboard_g }
-  - {platform: ledc, pin: GPIO17, id: headboard_b }
-  
+  - { platform: ledc, pin: GPIO19, id: headboard_w }
+  - { platform: ledc, pin: GPIO23, id: headboard_r }
+  - { platform: ledc, pin: GPIO18, id: headboard_g }
+  - { platform: ledc, pin: GPIO17, id: headboard_b }
+
 light:
   - platform: rgbw
     name: headboard
@@ -48,7 +48,6 @@
     blue: headboard_b
     white: headboard_w
 
-    
 i2c:
   sda: 4
   scl: 15
@@ -75,7 +74,7 @@
     name: wifi_signal
     update_interval: 4s
     internal: true # no mqtt
-      
+
 display:
   - platform: ssd1306_i2c
     model: "SSD1306 128x64"
@@ -84,4 +83,3 @@
     lambda: |-
       it.print(0, 0, id(font_vera), "bed 2: running");
       it.printf(0, 20, id(font_vera), "wifi %s %.2f", id(wifi_ip).state.c_str(), id(my_wifi_signal).state);
-