From af72f5210f6d63c88dacca3b4e7bac5be45f4d1b Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Sun, 22 Feb 2026 20:43:27 +0100 Subject: [PATCH] Fix player not available in HA at startup --- music_assistant/models/player.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/music_assistant/models/player.py b/music_assistant/models/player.py index 23379492..65c2f836 100644 --- a/music_assistant/models/player.py +++ b/music_assistant/models/player.py @@ -833,7 +833,7 @@ class Player(ABC): This is a convenience property that returns True if the player is set to be exposed to Home Assistant, based on the config entry. """ - return bool(self._config.get_value(CONF_EXPOSE_PLAYER_TO_HA)) + return bool(self._config.get_value(CONF_EXPOSE_PLAYER_TO_HA, self.expose_to_ha_by_default)) @property @final -- 2.34.1