From 4ba73dae79d244fb83a964f9b0d1b06233f9b147 Mon Sep 17 00:00:00 2001 From: "Sroka, Kamil" Date: Fri, 26 Feb 2021 14:09:37 +0100 Subject: [PATCH] Fix updating ha state --- custom_components/musiccast_yamaha/media_player.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/musiccast_yamaha/media_player.py b/custom_components/musiccast_yamaha/media_player.py index 62c2d27..f00ed7f 100644 --- a/custom_components/musiccast_yamaha/media_player.py +++ b/custom_components/musiccast_yamaha/media_player.py @@ -284,7 +284,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