diyhue / diyHue

Main diyHue software repo
https://diyhue.org/
Other
1.52k stars 274 forks source link

Fix variable reference in HueObjects call #877

Closed chrisbraucker closed 1 year ago

chrisbraucker commented 1 year ago

When using diyHue in docker (image ID ghcr.io/diyhue/diyhue/core:armv7-872, so most recent build at time of writing) via MQTT and Home Assistant, I ran into a lot of log messages like

diyhue  | 2022-12-24 21:35:21,919 - services.mqtt - INFO - MQTT Exception | name 'state' is not defined

I traced this back to the change proposed in this PR. For me, this fixes the problem and has been running for a couple of days now without issues.

mariusmotea commented 1 year ago

Thanks for this fix