Commit Graph
9 Commits
Author SHA1 Message Date
GermanBluefox 34ac9d9220 Fixed linter 2026-05-16 19:11:49 +02:00
BluefoxandGitHub 12e59a82ef Merge pull request #174 from biglouis/fix/dynamic-attribute-objects-on-state-changed
fix: dynamically create missing attribute objects in state_changed handler
2026-05-16 19:06:47 +02:00
Torsten Pattberg cb3f490e25 fix: dynamically create missing attribute objects in state_changed handler
When Home Assistant reports a new attribute for an entity after the initial
sync (e.g. source_list or media_channel appearing when a media player becomes
active), setState was called without a corresponding ioBroker object — causing
'has no existing object' warnings.

Fix: check if the attribute object exists in hassObjects before calling
setState. If missing, create it on-the-fly via setForeignObjectAsync before
writing the state.
2026-05-12 15:58:31 +02:00
Matthias KleineandGitHub 47b80f47c2 Merge branch 'master' into master 2026-05-05 12:07:10 +02:00
GermanBluefox a64ef243f0 Tried to keep the custom settings of the objects when updating them with new data from HASS 2026-05-05 10:01:38 +02:00
Matthias Kleine 5657211716 Use ENV var SUPERVISOR_TOKEN as fallback for password 2026-04-28 11:15:02 +02:00
Matthias Kleine 7575b129c0 Use /core/ instead of /api/ when connecting to supervisor directly 2026-04-28 11:05:24 +02:00
GermanBluefox bc74169c7e Merge https://github.com/ioBroker/ioBroker.hass/pull/129 2026-03-31 22:11:09 +02:00
GermanBluefox ebca1ad36c MIgrate adapter to Typescript 2026-03-31 19:44:44 +02:00