diff --git a/custom_components/versatile_thermostat/sensor.py b/custom_components/versatile_thermostat/sensor.py index aa95534..23d624b 100644 --- a/custom_components/versatile_thermostat/sensor.py +++ b/custom_components/versatile_thermostat/sensor.py @@ -769,6 +769,8 @@ async def calculate_nb_active_devices(self, event: Event): old_state is not None and new_state.state == old_state.state and new_hvac_action == old_hvac_action + # issue 698 - force recalculation when underlying climate doesn't have any hvac_action + and new_hvac_action is not None ): # A false state change return