Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turning off BT Thermostat does not turn of underlying cooler generic thermostat #1448

Open
JP-Ellis opened this issue Nov 6, 2024 · 0 comments
Assignees
Labels
new bug incoming bug issue

Comments

@JP-Ellis
Copy link

JP-Ellis commented Nov 6, 2024

Description

If the BT Thermostat is turned off, the underlying cooler thermostat remains active.

Set up

I have the following set up:

flowchart LR
    BT[Better Thermostat]
    GH[Generic Thermostat - Heat]
    GC[Generic Thermostat - Cool]
    BT --> GH --> SH(Switch - Heater)
    BT --> GC --> SC(Switch - Cooler)
Loading

Current Behaviour

I have noticed the following:

  1. To begin, the BT and cool thermostats are both on.
  2. I toggle the BT thermostat to off
  3. The Generic thermostat (cool) remains on

Expected Behaviour

I would expect that:

  1. To begin, the BT and cool thermostats are both on.
  2. I toggle the BT thermostat to off
  3. The Generic thermostat (cool) also is switched to off

Logs

17:47:27.878 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=climate, service=set_hvac_mode, service_data=hvac_mode=off, entity_id=climate.bathroom_cooling>
17:47:27.878 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=homeassistant, service=turn_off, service_data=entity_id=switch.bathroom_cooling>
17:47:27.878 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=climate.bathroom_cooling, old_state=<state climate.bathroom_cooling=cool; hvac_modes=[<HVACMode.COOL: 'cool'>, <HVACMode.OFF: 'off'>], min_temp=7, max_temp=35, target_temp_step=0.1, current_temperature=23.8, temperature=23.5, hvac_action=cooling, friendly_name=Bathroom Cooling, supported_features=385 @ 2024-11-06T17:47:00.859518+11:00>, new_state=<state climate.bathroom_cooling=off; hvac_modes=[<HVACMode.COOL: 'cool'>, <HVACMode.OFF: 'off'>], min_temp=7, max_temp=35, target_temp_step=0.1, current_temperature=23.8, temperature=23.5, hvac_action=off, friendly_name=Bathroom Cooling, supported_features=385 @ 2024-11-06T17:47:27.878588+11:00>>
17:47:27.878 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=switch, service=turn_off, service_data=entity_id=['switch.bathroom_cooling']>
17:47:27.878 INFO (MainThread) [homeassistant.helpers.script.bathroom_cooling] Bathroom Cooling: Running template script
17:47:27.879 INFO (MainThread) [homeassistant.helpers.script.bathroom_cooling] Bathroom Cooling: Executing step call service
17:47:27.879 DEBUG (MainThread) [custom_components.better_thermostat.events.cooler] better_thermostat None: Cooler climate.bathroom_cooling update received
17:47:27.880 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=climate, service=set_temperature, service_data=entity_id=climate.bathroom_cooling, temperature=23.5>
17:47:27.880 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_reported[L]: entity_id=climate.bathroom_cooling, old_last_reported=2024-11-06T17:47:27.878588+11:00, new_state=<state climate.bathroom_cooling=off; hvac_modes=[<HVACMode.COOL: 'cool'>, <HVACMode.OFF: 'off'>], min_temp=7, max_temp=35, target_temp_step=0.1, current_temperature=23.8, temperature=23.5, hvac_action=off, friendly_name=Bathroom Cooling, supported_features=385 @ 2024-11-06T17:47:27.878588+11:00>>
17:47:27.880 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=climate, service=set_hvac_mode, service_data=entity_id=climate.bathroom_cooling, hvac_mode=cool>
17:47:27.880 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=climate.bathroom_cooling, old_state=<state climate.bathroom_cooling=off; hvac_modes=[<HVACMode.COOL: 'cool'>, <HVACMode.OFF: 'off'>], min_temp=7, max_temp=35, target_temp_step=0.1, current_temperature=23.8, temperature=23.5, hvac_action=off, friendly_name=Bathroom Cooling, supported_features=385 @ 2024-11-06T17:47:27.878588+11:00>, new_state=<state climate.bathroom_cooling=cool; hvac_modes=[<HVACMode.COOL: 'cool'>, <HVACMode.OFF: 'off'>], min_temp=7, max_temp=35, target_temp_step=0.1, current_temperature=23.8, temperature=23.5, hvac_action=cooling, friendly_name=Bathroom Cooling, supported_features=385 @ 2024-11-06T17:47:27.880849+11:00>>
@JP-Ellis JP-Ellis added the new bug incoming bug issue label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new bug incoming bug issue
Projects
None yet
Development

No branches or pull requests

2 participants