but I noticed my slider wasn’t updating, and I discovered that this callback was not being called. If I changed the call to receive all events like
self.listen_event(self.valve_state_event)
The only events that are seen in the callback are state_changed events, even if I send mqtt messages into the system. Are mqtt messages on the event bus now?
I’m not sure when this started happening, as I only use it to update the UI, so it could be several HA releases ago.
Yes, a bit more fiddling around, and I saw some of those events as well, but no mqtt messages.
I poked around the HA code a bit and it seems that mqtt messages are sent by some dispatcher now, rather than the event bus, so I am going to have to rewrite some code.