Closed AvocadoPanic closed 8 months ago
You are providing Zwave debug logs, which is not really helpful in this stage. You should first have a look into the state of the HA entity. That's what powercalc looks at.
You can find the current state and it's attributes at the HA developer tools in the left menu. Next select states tab and filter your entity from the list. Share the state and attributes when you set to idle and when it is heating.
Did you setup powercalc sensor using GUI or YAML?
I used the GUI to setup the sensor.
The state of the entity is 'heat', it does not change.
The state attribute 'hvac_action' is the attribute that matches the state of the thermostat.
hvac_modes:
- heat
min_temp: 44.6
max_temp: 95
preset_modes:
- none
- Energy heat
current_temperature: 65
temperature: 63
hvac_action: idle
preset_mode: none
friendly_name: "Family Room Thermostat "
supported_features: 17
hvac_modes:
- heat
min_temp: 44.6
max_temp: 95
preset_modes:
- none
- Energy heat
current_temperature: 64
temperature: 73
hvac_action: heating
preset_mode: none
friendly_name: "Family Room Thermostat "
supported_features: 17
See the docs: https://homeassistant-powercalc.readthedocs.io/en/latest/strategies/fixed.html Last section. You'll need to specify hvac_action.
Like this.
hvac_action|heating: 1391
hvac_action|idle: 10
Let me know if it works.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.
I've several Stelpro STZW402+ thermostats. They have a Thermostat Operating State v1 [42-66-0-state] Operating state value that is [0] Idle [1] Heating.
I can see in the logs the state change as the thermostat cycles the triac.
With States Power as below the sensor only ever reports 1393 watts, regardless if the operating state is Idle or Heating.