mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-10-14 08:35:12 +02:00
Fix yamllint errors: trailing spaces, blank lines and newline at end of file
Allow aligned values after a colon (the bedroom lamp presets).
This commit is contained in:
1 parent
89763817f6
commit
170fd69274
12 files changed
+13
-13
No files matched your search
@@ -25,3 +25,7 @@ rules:
|
|||||||
|
|
||||||
comments:
|
comments:
|
||||||
require-starting-space: false
|
require-starting-space: false
|
||||||
|
|
||||||
|
# Aligned values (e.g. the bedroom lamp presets) are intentional
|
||||||
|
colons:
|
||||||
|
max-spaces-after: -1
|
||||||
@@ -28,4 +28,4 @@ time:
|
|||||||
- <<: !include time/homeassistant.yaml
|
- <<: !include time/homeassistant.yaml
|
||||||
|
|
||||||
network:
|
network:
|
||||||
enable_ipv6: true
|
enable_ipv6: true
|
||||||
@@ -27,4 +27,4 @@ time:
|
|||||||
- <<: !include time/homeassistant.yaml
|
- <<: !include time/homeassistant.yaml
|
||||||
|
|
||||||
network:
|
network:
|
||||||
enable_ipv6: true
|
enable_ipv6: true
|
||||||
@@ -7,4 +7,3 @@ accuracy_decimals: 2
|
|||||||
update_interval: 60s
|
update_interval: 60s
|
||||||
filters:
|
filters:
|
||||||
- lambda: return x / 86400;
|
- lambda: return x / 86400;
|
||||||
|
|
||||||
@@ -5,4 +5,4 @@ id: git_ref_sensor
|
|||||||
long: true
|
long: true
|
||||||
all: true
|
all: true
|
||||||
abbrev: 16
|
abbrev: 16
|
||||||
dirty: "-dirty"
|
dirty: "-dirty"
|
||||||
@@ -7,4 +7,4 @@ wifi:
|
|||||||
# enable_rrm: true
|
# enable_rrm: true
|
||||||
ap:
|
ap:
|
||||||
ssid: TEST
|
ssid: TEST
|
||||||
password: testtest
|
password: testtest
|
||||||
+1
-1
@@ -40,7 +40,7 @@ api:
|
|||||||
then:
|
then:
|
||||||
- rtttl.play:
|
- rtttl.play:
|
||||||
rtttl: !lambda 'return song;'
|
rtttl: !lambda 'return song;'
|
||||||
|
|
||||||
switch:
|
switch:
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
id: accessory_power
|
id: accessory_power
|
||||||
|
|||||||
@@ -199,4 +199,3 @@ switch:
|
|||||||
- delay: 500ms
|
- delay: 500ms
|
||||||
- switch.turn_off: relay_off # bi-stable relay so no need to keep on
|
- switch.turn_off: relay_off # bi-stable relay so no need to keep on
|
||||||
interlock: [relay_on]
|
interlock: [relay_on]
|
||||||
|
|
||||||
+3
-3
@@ -37,7 +37,7 @@ spi:
|
|||||||
clk_pin: 23
|
clk_pin: 23
|
||||||
mosi_pin: 19
|
mosi_pin: 19
|
||||||
miso_pin: 22
|
miso_pin: 22
|
||||||
|
|
||||||
cc1101:
|
cc1101:
|
||||||
cs_pin: 33
|
cs_pin: 33
|
||||||
frequency: 433.92MHz
|
frequency: 433.92MHz
|
||||||
@@ -53,7 +53,7 @@ radio_frequency:
|
|||||||
id: rf_proxy_rx
|
id: rf_proxy_rx
|
||||||
remote_receiver_id: rf_rx
|
remote_receiver_id: rf_rx
|
||||||
frequency: 433.92MHz
|
frequency: 433.92MHz
|
||||||
|
|
||||||
remote_receiver:
|
remote_receiver:
|
||||||
- id: rf_rx
|
- id: rf_rx
|
||||||
pin: 25
|
pin: 25
|
||||||
@@ -68,4 +68,4 @@ remote_transmitter:
|
|||||||
- cc1101.begin_tx
|
- cc1101.begin_tx
|
||||||
on_complete:
|
on_complete:
|
||||||
then:
|
then:
|
||||||
- cc1101.begin_rx
|
- cc1101.begin_rx
|
||||||
@@ -121,4 +121,3 @@ switch:
|
|||||||
pin:
|
pin:
|
||||||
number: 19
|
number: 19
|
||||||
mode: OUTPUT
|
mode: OUTPUT
|
||||||
|
|
||||||
+1
-1
@@ -922,7 +922,7 @@ light:
|
|||||||
name: LCD Backlight
|
name: LCD Backlight
|
||||||
output: lcd_backlight_output
|
output: lcd_backlight_output
|
||||||
restore_mode: ALWAYS_ON
|
restore_mode: ALWAYS_ON
|
||||||
|
|
||||||
remote_transmitter:
|
remote_transmitter:
|
||||||
id: ir_tx
|
id: ir_tx
|
||||||
pin: 5
|
pin: 5
|
||||||
|
|||||||
@@ -370,4 +370,3 @@ valve:
|
|||||||
- switch.turn_on: irrigation_relay_8
|
- switch.turn_on: irrigation_relay_8
|
||||||
close_action:
|
close_action:
|
||||||
- switch.turn_off: irrigation_relay_8
|
- switch.turn_off: irrigation_relay_8
|
||||||
|
|
||||||
Reference in new issue
Block a user