Closed sweetpants closed 2 years ago
Was there ever a sensor.boiler_indicator? Is that a self-assigned entity name? What information was this entity exposing?
Which version did you still have the sensor?
As far as I know there was a sensor with this name. The values it supplied where CH - Central Heating Active HW - Hot Water Active and a few other states
This morning I upgraded HA to 2022.4.0 and since that time I get 'unknown'
I have a custom integration that relies on this sensor so i know when to turn on/off my central heating pump (when this sensor goes to state CH). In the log of this integration i can see it stopped right after the upgrade of HA to 2022.4.0. Not sure if this is related. In the Nefit Easy integration entities I don't see this sensor either/anymore.
Looks like it has something to do with nefit.climate device
The code is still there
@property def hvac_action(self) -> str: """Return the current running hvac operation if supported.""" if ( self.coordinator.data.get("boiler_indicator") == "CH" ): # HW (hot water) is not for climate return CURRENT_HVAC_HEAT
return CURRENT_HVAC_IDLE
Could this be a template sensor you have defined yourself?
I'm trying to figure out what changed. I can't find any boiler indicator ever being defined in this integration. It should not change with HA version, as long as you don't update the integration...
I found the culpritt. There used to be a boiler_indicator supplied bij climate.nefit. This has disappeared somehow. The climate.nefit now supplies hvac_acion which has values idle/heating. I have changed my custom integration to use that and now it works again. When heating is turned on, the circulation pump is turned on and when turned off, the pump is turned off after 10 minutes. issue closed
Ok, that makes sense.
Note, the boiler_indicator as a state attribute is still there, but changed to extra_state_attribute here #93 That probably broke your sensor, but was needed because device_state_attributes is deprecated.
Am i right that the sensor.boiler_indicator is gone? What's the replacement sensor?