Skip to content
This repository has been archived by the owner on Dec 9, 2021. It is now read-only.

Commit

Permalink
Merge pull request #20 from KaSroka/pr/fix_update_notification
Browse files Browse the repository at this point in the history
Fix updating ha state
  • Loading branch information
ppanagiotis authored Mar 6, 2021
2 parents 467fd09 + 4ba73da commit 5a85747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/musiccast_yamaha/media_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def update_hass(self):
"""Push updates to Home Assistant."""
if self.entity_id:
_LOGGER.debug("update_hass: pushing updates")
self.schedule_update_ha_state()
self.schedule_update_ha_state(True)
return True
return False

Expand Down

0 comments on commit 5a85747

Please sign in to comment.