/
/
/
1"""Constants for the Home Assistant PlayerProvider."""
2
3from __future__ import annotations
4
5from music_assistant_models.config_entries import ConfigEntry
6from music_assistant_models.enums import ConfigEntryType
7
8CONF_PLAYERS = "players"
9
10BLOCKLISTED_HASS_INTEGRATIONS = ("alexa_media", "apple_tv")
11WARN_HASS_INTEGRATIONS = ("cast", "dlna_dmr", "fully_kiosk", "sonos", "snapcast")
12
13
14CONF_ENTRY_WARN_HASS_INTEGRATION = ConfigEntry(
15 key="warn_hass_integration",
16 type=ConfigEntryType.ALERT,
17 label="Music Assistant has native support for this player type - "
18 "it is strongly recommended to use the native player provider for this player in "
19 "Music Assistant instead of the generic version provided by the Home Assistant provider.",
20)
21