Update homeassistant.py
authormarcelveldt <marcelvanderveldt@MacBook-Silvia.local>
Sat, 19 Oct 2019 16:00:05 +0000 (18:00 +0200)
committermarcelveldt <marcelvanderveldt@MacBook-Silvia.local>
Sat, 19 Oct 2019 16:00:05 +0000 (18:00 +0200)
music_assistant/homeassistant.py

index 482bab7391854c5c8bd88b24e2c26e88ba87cef4..018c4538477062b483302e30e3272245fac6bdb6 100644 (file)
@@ -27,7 +27,8 @@ EVENT_HASS_CHANGED = "hass entity changed"
 if os.path.isfile('/data/options.json'):
     IS_HASSIO = True
     CONFIG_ENTRIES = [
-        (CONF_ENABLED, False, CONF_ENABLED)]
+        (CONF_ENABLED, False, CONF_ENABLED),
+        (CONF_PUBLISH_PLAYERS, True, 'hass_publish')]
 else:
     IS_HASSIO = False
     CONFIG_ENTRIES = [