diff --git a/.yamllint.yml b/.yamllint.yml index 71a12f9..41497b9 100644 --- a/.yamllint.yml +++ b/.yamllint.yml @@ -25,3 +25,7 @@ rules: comments: require-starting-space: false + + # Aligned values (e.g. the bedroom lamp presets) are intentional + colons: + max-spaces-after: -1 diff --git a/common/common_dev.yaml b/common/common_dev.yaml index d8546c2..b73aa8b 100644 --- a/common/common_dev.yaml +++ b/common/common_dev.yaml @@ -28,4 +28,4 @@ time: - <<: !include time/homeassistant.yaml network: - enable_ipv6: true \ No newline at end of file + enable_ipv6: true diff --git a/common/common_esp8266.yaml b/common/common_esp8266.yaml index 106f561..cf6bfab 100644 --- a/common/common_esp8266.yaml +++ b/common/common_esp8266.yaml @@ -27,4 +27,4 @@ time: - <<: !include time/homeassistant.yaml network: - enable_ipv6: true \ No newline at end of file + enable_ipv6: true diff --git a/common/sensor/uptime.yaml b/common/sensor/uptime.yaml index 29872d5..6dea339 100644 --- a/common/sensor/uptime.yaml +++ b/common/sensor/uptime.yaml @@ -7,4 +7,3 @@ accuracy_decimals: 2 update_interval: 60s filters: - lambda: return x / 86400; - diff --git a/common/text_sensor/git_ref.yaml b/common/text_sensor/git_ref.yaml index 91aac01..3f0f6a8 100644 --- a/common/text_sensor/git_ref.yaml +++ b/common/text_sensor/git_ref.yaml @@ -5,4 +5,4 @@ id: git_ref_sensor long: true all: true abbrev: 16 -dirty: "-dirty" \ No newline at end of file +dirty: "-dirty" diff --git a/common/wifi_dev.yaml b/common/wifi_dev.yaml index 28c8f73..5c5dc4b 100644 --- a/common/wifi_dev.yaml +++ b/common/wifi_dev.yaml @@ -7,4 +7,4 @@ wifi: # enable_rrm: true ap: ssid: TEST - password: testtest \ No newline at end of file + password: testtest diff --git a/mcu-apollo-dev.yaml b/mcu-apollo-dev.yaml index 0603d5e..f869c9f 100644 --- a/mcu-apollo-dev.yaml +++ b/mcu-apollo-dev.yaml @@ -40,7 +40,7 @@ api: then: - rtttl.play: rtttl: !lambda 'return song;' - + switch: - platform: gpio id: accessory_power diff --git a/mcu-pow-dishwasher.yaml b/mcu-pow-dishwasher.yaml index f88f26e..98110df 100644 --- a/mcu-pow-dishwasher.yaml +++ b/mcu-pow-dishwasher.yaml @@ -199,4 +199,3 @@ switch: - delay: 500ms - switch.turn_off: relay_off # bi-stable relay so no need to keep on interlock: [relay_on] - diff --git a/mcu-rf.yaml b/mcu-rf.yaml index a9af2e3..29ba571 100644 --- a/mcu-rf.yaml +++ b/mcu-rf.yaml @@ -37,7 +37,7 @@ spi: clk_pin: 23 mosi_pin: 19 miso_pin: 22 - + cc1101: cs_pin: 33 frequency: 433.92MHz @@ -53,7 +53,7 @@ radio_frequency: id: rf_proxy_rx remote_receiver_id: rf_rx frequency: 433.92MHz - + remote_receiver: - id: rf_rx pin: 25 @@ -68,4 +68,4 @@ remote_transmitter: - cc1101.begin_tx on_complete: then: - - cc1101.begin_rx \ No newline at end of file + - cc1101.begin_rx diff --git a/mcu-shed.yaml b/mcu-shed.yaml index ed46ef8..b3fbee9 100644 --- a/mcu-shed.yaml +++ b/mcu-shed.yaml @@ -121,4 +121,3 @@ switch: pin: number: 19 mode: OUTPUT - diff --git a/mcu-stackchan.yaml b/mcu-stackchan.yaml index c0ba22b..e073ecb 100644 --- a/mcu-stackchan.yaml +++ b/mcu-stackchan.yaml @@ -922,7 +922,7 @@ light: name: LCD Backlight output: lcd_backlight_output restore_mode: ALWAYS_ON - + remote_transmitter: id: ir_tx pin: 5 diff --git a/mcu-well.yaml b/mcu-well.yaml index d23e1f7..3989f94 100644 --- a/mcu-well.yaml +++ b/mcu-well.yaml @@ -370,4 +370,3 @@ valve: - switch.turn_on: irrigation_relay_8 close_action: - switch.turn_off: irrigation_relay_8 -