Hi,
I do have a device, which provides 76 entities.
To have the ability to use these entities beyond HA, I would like to publish all of them (as soon as there is a change of state) to MQTT.
Until now I’m using an automation for one entity (from an another device) to publish state changes to MQTT. But using this approach for all 76 entities would be a bit inifficient from my point of view. Also thinking about: What if the device suddenly has more entities, these should be automatically added to the MQTT distribution.
Is there a more easy, convenient way to achieve this?
To be honest: I do have not that much script experience, so any hint is really appreciated.
Thanks
J