Hey everyone I am new to this but I didnt think I could get this to work and I did aside from the plugin not turning the switch off. I know there are lots of thermostats and different setups, so for mine I wanted to be able to have the “auto” function like you would on an Ecobell with high and low thresholds. Here is the coding I have in my config file and it works for both ac and heat, but just doesn’t turn them off like I can with the simple thermostat or dual thermostat plugin.
https://github.com/custom-components/climate.programmable_thermostat
- platform: programmable_thermostat
name: room
heater: switch.living_room_window_lights
cooler: switch.test_ac
actual_temp_sensor: sensor.hue_motion_sensor_1_temperature
min_temp: 10
max_temp: 30
target_temp_sensor: sensor.hue_motion_sensor_1_temperature
tolerance: 0.3
hvac_options: 7
auto_mode: all
min_cycle_duration:
seconds: 20
initial_hvac_mode: "off"