Rename irrigation entities according to install

This commit is contained in:
2026-06-20 12:33:22 +00:00
parent 2d8ff3aa22
commit dfa947bd11
+10 -9
View File
@@ -3,9 +3,10 @@ esp8266:
# Sonoff 4CH Pro R3 # Sonoff 4CH Pro R3
esphome: esphome:
name: irrigation-controller name: irrigation
friendly_name: "Irrigation controller" friendly_name: "Irrigation"
area: "Living room" # Adding area prepends it to entity IDs. Ridiculous.
#area: "Living room"
logger: logger:
@@ -19,7 +20,7 @@ packages:
binary_sensor: binary_sensor:
- platform: gpio - platform: gpio
name: "Button 1" name: "Garden Peach button"
pin: pin:
number: GPIO0 number: GPIO0
mode: INPUT_PULLUP mode: INPUT_PULLUP
@@ -27,7 +28,7 @@ binary_sensor:
on_press: on_press:
- switch.toggle: "relay_1" - switch.toggle: "relay_1"
- platform: gpio - platform: gpio
name: "Button 2" name: "Garden Berries button"
pin: pin:
number: GPIO9 number: GPIO9
mode: INPUT_PULLUP mode: INPUT_PULLUP
@@ -35,7 +36,7 @@ binary_sensor:
on_press: on_press:
- switch.toggle: "relay_2" - switch.toggle: "relay_2"
- platform: gpio - platform: gpio
name: "Button 3" name: "Shower button"
pin: pin:
number: GPIO10 number: GPIO10
mode: INPUT_PULLUP mode: INPUT_PULLUP
@@ -53,15 +54,15 @@ binary_sensor:
switch: switch:
- platform: gpio - platform: gpio
name: "Relay 1" name: "Garden Peach"
pin: GPIO12 pin: GPIO12
id: "relay_1" id: "relay_1"
- platform: gpio - platform: gpio
name: "Relay 2" name: "Garden Berries"
pin: GPIO5 pin: GPIO5
id: "relay_2" id: "relay_2"
- platform: gpio - platform: gpio
name: "Relay 3" name: "Shower"
pin: GPIO4 pin: GPIO4
id: "relay_3" id: "relay_3"
- platform: gpio - platform: gpio