Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To Do: Real time media player updates #31

Closed
cdnninja opened this issue May 11, 2024 · 5 comments
Closed

To Do: Real time media player updates #31

cdnninja opened this issue May 11, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@cdnninja
Copy link
Owner

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

@cdnninja cdnninja added the enhancement New feature or request label May 11, 2024
@cjb0001
Copy link
Contributor

cjb0001 commented May 15, 2024

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/

@cdnninja
Copy link
Owner Author

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.

@cjb0001
Copy link
Contributor

cjb0001 commented May 15, 2024

@cdnninja
Copy link
Owner Author

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.

@cdnninja
Copy link
Owner Author

Real time updates are working!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants