Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge πŸŒ‰, get rid of your proprietary Zigbee bridges πŸ”¨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
12.35k stars 1.69k forks source link

Since upgrading to 1.35.0-1 in Home Assistant I get no attibute/invlaid power_on_behavior errors in my HA log #20494

Closed heyitsyang closed 2 months ago

heyitsyang commented 11 months ago

What happened?

Since upgrading to Zigbee2MQTT 1.35.0-1 in Home Assistant I get the following errors in my Home Assistant log:

2024-01-01 10:04:49.710 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'dict object' has no attribute 'power_on_behavior' when rendering '{{ value_json.power_on_behavior }}' 2024-01-01 10:04:49.711 ERROR (MainThread) [homeassistant.components.mqtt.select] Invalid option for select.master_closet_lights_power_on_behavior: '' (valid options: ['off', 'on', 'toggle', 'previous']) 2024-01-01 10:04:49.745 WARNING (MainThread) [homeassistant.helpers.template] Template variable warning: 'dict object' has no attribute 'power_on_behavior' when rendering '{{ value_json.power_on_behavior }}' 2024-01-01 10:04:49.746 ERROR (MainThread) [homeassistant.components.mqtt.select] Invalid option for select.island_barstool_outlet_power_on_behavior: '' (valid options: ['off', 'on', 'toggle', 'previous'])

What did you expect to happen?

These warnings and errors only appeared after the 1.3.5.0-1 upgrade. The devices seem to work otherwise. Please fix the underlying cause of the errors .

How to reproduce it (minimal and precise)

In Home Assistant, any action involving the devices will cause the error. They are both GE Enbrighten Zigbee devices.

Zigbee2MQTT version

1.35.0.-1

Adapter firmware version

6.10.3.0 build 297

Adapter

SONOFF Zigbee 3.0 USB Dongle Plus-E

Debug log

No response

Hewelius commented 11 months ago

I have the same issue. In some devices appears new attributes, not present before update to 1.35. And z2m reporting errors "unsupported attribute"

msbc42 commented 10 months ago

I am also seeing this issue - my adapter is SkyConnect.

avvalex commented 10 months ago

Me too, with all my Vimar 14592.0 I have about 100 errors every hour. I can't set a Power on behavior cause the attribuite seem not supported by the devices. After Power outage the preset is to return in the same state it wss before. Is there a way to prevent the error in HA?

FuturamaPhill commented 9 months ago

Also having this issue, is there not an option to disable the unsupported feature per device?

github-actions[bot] commented 3 months ago

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days