cdnninja/yoto_ha

To Do: Real time media player updates

Closed this issue · 5 comments

Need to add real time media player updates. Data exists in the object just not displayed until next poll.

I propose changing manifest.json | "iot_class": "cloud_polling" to "cloud_push" which is what other integrations that get updates from MQTT are doing.
ref. https://developers.home-assistant.io/docs/creating_integration_manifest/

I'll add that to my pr once I get it figured out for making HA update state properly. Right now it only updates on the poll even though data has been processed and ready to go from mqtt.

A little bit yes. Those commands are within the entity. I am placing the call in the coordinator. It is exactly what I need but can't find a way to pass this to the entity.

Real time updates are working!