2024-07-25 10:27:10 +00:00
|
|
|
"""LinkPlay constants."""
|
|
|
|
|
2024-10-25 18:12:42 +00:00
|
|
|
from linkplay.controller import LinkPlayController
|
|
|
|
|
2024-07-25 10:27:10 +00:00
|
|
|
from homeassistant.const import Platform
|
2024-10-25 18:12:42 +00:00
|
|
|
from homeassistant.util.hass_dict import HassKey
|
2024-07-25 10:27:10 +00:00
|
|
|
|
|
|
|
DOMAIN = "linkplay"
|
2024-10-25 18:12:42 +00:00
|
|
|
CONTROLLER = "controller"
|
|
|
|
CONTROLLER_KEY: HassKey[LinkPlayController] = HassKey(CONTROLLER)
|
2024-11-26 08:01:13 +00:00
|
|
|
PLATFORMS = [Platform.BUTTON, Platform.MEDIA_PLAYER]
|
2024-09-11 16:38:06 +00:00
|
|
|
DATA_SESSION = "session"
|