Home Assistant Unofficial Reference
2024.12.1
const.py
Go to the documentation of this file.
1
"""LinkPlay constants."""
2
3
from
linkplay.controller
import
LinkPlayController
4
5
from
homeassistant.const
import
Platform
6
from
homeassistant.util.hass_dict
import
HassKey
7
8
DOMAIN =
"linkplay"
9
CONTROLLER =
"controller"
10
CONTROLLER_KEY: HassKey[LinkPlayController] =
HassKey
(CONTROLLER)
11
PLATFORMS = [Platform.BUTTON, Platform.MEDIA_PLAYER]
12
DATA_SESSION =
"session"
homeassistant.util.hass_dict.HassKey
Definition:
hass_dict.py:9
homeassistant.const
Definition:
const.py:1
homeassistant.util.hass_dict
Definition:
hass_dict.py:1
core
homeassistant
components
linkplay
const.py
Generated by
1.9.1