mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-10-14 08:35:12 +02:00
mcu-basement: rename sewage treatment blower to aerator pump
Reflects what the device actually controls; renames the entity/id (blower_auto -> aerator_auto) and display names accordingly. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
176b875bef
commit
13a5bf04cc
1 file changed
+7
-7
+7
-7
@@ -27,7 +27,7 @@ packages:
|
|||||||
# GPIO13 Blue Status LED
|
# GPIO13 Blue Status LED
|
||||||
|
|
||||||
globals:
|
globals:
|
||||||
- id: blower_auto
|
- id: aerator_auto
|
||||||
type: bool
|
type: bool
|
||||||
restore_value: true
|
restore_value: true
|
||||||
initial_value: "true"
|
initial_value: "true"
|
||||||
@@ -95,7 +95,7 @@ binary_sensor:
|
|||||||
|
|
||||||
select:
|
select:
|
||||||
- platform: template
|
- platform: template
|
||||||
name: Sewage Treatment Blower
|
name: Sewage Treatment Aerator Pump
|
||||||
icon: mdi:hair-dryer-outline
|
icon: mdi:hair-dryer-outline
|
||||||
optimistic: true
|
optimistic: true
|
||||||
options:
|
options:
|
||||||
@@ -109,14 +109,14 @@ select:
|
|||||||
- lambda: |-
|
- lambda: |-
|
||||||
switch (i) {
|
switch (i) {
|
||||||
case 0: {
|
case 0: {
|
||||||
id(blower_auto) = false;
|
id(aerator_auto) = false;
|
||||||
id(relay_1).turn_on();
|
id(relay_1).turn_on();
|
||||||
} break;
|
} break;
|
||||||
case 1: {
|
case 1: {
|
||||||
id(blower_auto) = true;
|
id(aerator_auto) = true;
|
||||||
} break;
|
} break;
|
||||||
case 2:
|
case 2:
|
||||||
id(blower_auto) = false;
|
id(aerator_auto) = false;
|
||||||
id(relay_1).turn_off();
|
id(relay_1).turn_off();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -127,7 +127,7 @@ status_led:
|
|||||||
|
|
||||||
switch:
|
switch:
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
name: Sewage Treatment Blower
|
name: Sewage Treatment Aerator Pump
|
||||||
icon: mdi:hair-dryer-outline
|
icon: mdi:hair-dryer-outline
|
||||||
pin: 12
|
pin: 12
|
||||||
id: relay_1
|
id: relay_1
|
||||||
@@ -147,7 +147,7 @@ time:
|
|||||||
then:
|
then:
|
||||||
- if:
|
- if:
|
||||||
condition:
|
condition:
|
||||||
lambda: 'return id(blower_auto);'
|
lambda: 'return id(aerator_auto);'
|
||||||
then:
|
then:
|
||||||
- switch.turn_on: relay_1
|
- switch.turn_on: relay_1
|
||||||
- delay: 12min
|
- delay: 12min
|
||||||
|
|||||||
Reference in new issue
Block a user