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

Only update media icon when necessary #24324

Merged
merged 3 commits into from
Jun 6, 2019

Conversation

jjlawren
Copy link
Contributor

@jjlawren jjlawren commented Jun 5, 2019

Description:

The WebOS media_player media icon contains a transient key in the URL which caused the entity_icon attribute to update on every poll of the entity. This PR continues to send the last matching icon to reduce database writes.

Related issue (if applicable): fixes #21585

Example entry for configuration.yaml (if applicable):

- platform: webostv
  host: 10.0.1.5

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • I have followed the development checklist

@andrewsayre andrewsayre merged commit f5db770 into home-assistant:dev Jun 6, 2019
@jjlawren jjlawren deleted the webostv_icon_throttle branch June 6, 2019 13:03
@balloob balloob mentioned this pull request Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LG webOS smart tv component is generating is generating useless events
3 participants