Removed LED auxiliary files

Using YAML anchors instead.
It makes it cleaner and easier to understand.
This commit is contained in:
Edward Firmo
2024-12-21 08:54:41 +01:00
parent 96db05cc34
commit ee8ff66add
5 changed files with 167 additions and 252 deletions

View File

@@ -66,6 +66,27 @@ globals:
restore_value: false
initial_value: 'false'
light:
# These lights are used for the physical relays to be shown as lights
- &light_binary_base
id: light_output_1
name: Light output 1
output: output_relay_1
platform: binary
internal: true
- id: light_output_2
name: Light output 2
output: output_relay_2
<<: *light_binary_base
- id: light_output_3
name: Light output 3
output: output_relay_3
<<: *light_binary_base
- id: light_output_4
name: Light output 4
output: output_relay_4
<<: *light_binary_base
output:
- id: output_relay_1
platform: gpio