Default embedded climate to relay_0
This commit is contained in:
@@ -32,7 +32,7 @@ substitutions:
|
|||||||
# https://esphome.io/components/climate/thermostat.html
|
# https://esphome.io/components/climate/thermostat.html
|
||||||
embedded_thermostat_disabled: "true"
|
embedded_thermostat_disabled: "true"
|
||||||
embedded_thermostat_temp_units: "°C"
|
embedded_thermostat_temp_units: "°C"
|
||||||
embedded_thermostat_heater_relay: "1" # Select 1 for "Relay 1" or 2 for "Relay 2"
|
embedded_thermostat_heater_relay: "0" # Select 1 for "Relay 1", 2 for "Relay 2" or "0" to a dummy switch/disabled
|
||||||
embedded_thermostat_min_heating_off_time: "300"
|
embedded_thermostat_min_heating_off_time: "300"
|
||||||
embedded_thermostat_min_heating_run_time: "300"
|
embedded_thermostat_min_heating_run_time: "300"
|
||||||
embedded_thermostat_min_idle_time: "30"
|
embedded_thermostat_min_idle_time: "30"
|
||||||
@@ -1105,8 +1105,6 @@ switch:
|
|||||||
then:
|
then:
|
||||||
- script.execute:
|
- script.execute:
|
||||||
id: refresh_relays
|
id: refresh_relays
|
||||||
|
|
||||||
|
|
||||||
##### PHYSICAL SWITCH 2 ######
|
##### PHYSICAL SWITCH 2 ######
|
||||||
- name: ${device_name} Relay 2
|
- name: ${device_name} Relay 2
|
||||||
platform: gpio
|
platform: gpio
|
||||||
@@ -1122,6 +1120,13 @@ switch:
|
|||||||
then:
|
then:
|
||||||
- script.execute:
|
- script.execute:
|
||||||
id: refresh_relays
|
id: refresh_relays
|
||||||
|
##### PHYSICAL SWITCH 0 (Dummy) - Usend when embedded climate is disabled #####
|
||||||
|
- name: ${device_name} Relay 0 (dummy)
|
||||||
|
platform: template
|
||||||
|
id: relay_0
|
||||||
|
lambda: !lambda return false;
|
||||||
|
internal: true
|
||||||
|
optimistic: true
|
||||||
|
|
||||||
##### DISPLAY ALWAYS ON #####
|
##### DISPLAY ALWAYS ON #####
|
||||||
- name: ${device_name} Screen Power
|
- name: ${device_name} Screen Power
|
||||||
|
|||||||
Reference in New Issue
Block a user