thaneye
(thaneye)
January 11, 2024, 10:25pm
1
I have the following entry in configuation.yaml and after restart it shows up fine. However, shelly switch does not change state
- platform: generic_thermostat
name: "Heating"
heater: switch.shelly1mini_543204b9d124_switch_0
target_sensor: sensor.first_floor_temperature
min_temp: 15
max_temp: 23
ac_mode: false
target_temp: 17
cold_tolerance: 0.3
hot_tolerance: 0
min_cycle_duration:
seconds: 5
keep_alive:
minutes: 3
initial_hvac_mode: "off"
away_temp: 16
precision: 0.1
I think I am using wrong entities but I copied them from settings\entities
thaneye
(thaneye)
January 12, 2024, 10:10am
2
Doing further tests I see that thermostat goes to idle instead of heating. The documentation does not mention “idle”. I am not sure how this works.
Troon
(Troon)
January 12, 2024, 10:18am
3
Idle is the “state” (hvac_action
attribute) that the system is in when on but above set temperature. Here’s mine:
Why do you set initial_hvac_mode: off
?
Can you provide the same screenshot for your climate entity please?
Troon
(Troon)
January 12, 2024, 12:17pm
5
So that’s on-but-not-running (state heat
, hvac_action: idle
) despite the current temperature being 0.8°C lower than the set temperature. Possibilities:
You’ve declared a cold_tolerance
that hasn’t been reached;
You’ve declared a min_cycle_duration
that’s blocking re-start.
Here’s mine, currently running (‘hvac_action: heating’) until the hot_tolerance
is reached:
thaneye
(thaneye)
January 12, 2024, 12:58pm
6
The issue was with wrong temperature sensor, somehow I copied the wrong sensor id.
1 Like