Trend: State "Unknown"

Hi everyone,

I’m encountering an issue in Home Assistant with a Trend helper. The status of the Trend helper is “unknown,” even though the associated entity does have a value.

The entity in question is a Tuya smart plug connected via Zigbee2MQTT. In the Developer Tools, the state of the entity correctly shows a number (power consumption). However, the binary_sensor created by the Trend helper remains in the “unknown” state.

Has anyone experienced something similar or knows what could cause this? I’d appreciate any advice!

Thanks in advance!

The trend binary sensor requires at least two state changes of the source sensor to determine the trend.

Please share the configuration of your trend sensor or we are just guessing what your issue is.

Thanks @tom_l : There was a problem in the subscribed state of the sensor. And it was a time problem - i changed and looked for an other behavior but it neede the two state changes.