I’ve just put together my first integration: GitHub - stblassitude/atem-switcher: Home Assistant integration to switch inputs on an ATEM mini. It seems to be working fine, but there is an annoying issue: HA somehow does not actually change the value of the select in its internal model(?), despite the changes being communicated to my code as expected. I’ve added an issue with more detail to my repo: HA does not properly track the current state · Issue #1 · stblassitude/atem-switcher · GitHub
In summary: I can select any of the values, and it has the desired effect, but when I reload the page I get the value that was current when HA started; I can also not switch to that value as apparently HA sees this as “we are already on that value” and simply does not call my code in that case. So clearly HA somehow is missing the change that is being made.
In my select.py
, am I supposed to implement something else to make HA aware of the selection that the user made? Or do I need to wire up some other component? I’ve searched the web and tried to wade through the documentation, but I haven’t found anything that I would think would help in this situtation.