mirror of
https://github.com/sudoxnym/fin-assistant.git
synced 2026-04-14 11:37:38 +00:00
CHG: disable player by default
This commit is contained in:
parent
ae17305cfb
commit
34a2f44293
1 changed files with 2 additions and 0 deletions
|
|
@ -125,6 +125,8 @@ class JellyfinMediaPlayer(MediaPlayerEntity):
|
|||
self.media_status_last_position = None
|
||||
self.media_status_received = None
|
||||
|
||||
self._attr_entity_registry_enabled_default = False
|
||||
|
||||
async def async_added_to_hass(self):
|
||||
self.hass.data[DOMAIN][self.jelly_cm.host][PLATFORM]["entities"].append(self)
|
||||
self.jelly_cm.add_update_callback(self.async_update_callback, self.device_id)
|
||||
|
|
|
|||
Loading…
Reference in a new issue