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"