1
0
mirror of https://github.com/home-assistant/core.git synced 2026-06-08 00:17:16 +01:00
Files
core/homeassistant/components/kitchen_sink/const.py
T
Abílio Costa b9105db16c Add infrared receiver entity (#169110)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: abmantis <974569+abmantis@users.noreply.github.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-13 18:21:46 +01:00

20 lines
574 B
Python

"""Constants for the Kitchen Sink integration."""
from collections.abc import Callable
from homeassistant.util.hass_dict import HassKey
DOMAIN = "kitchen_sink"
CONF_INFRARED_ENTITY_ID = "infrared_entity_id"
CONF_INFRARED_RECEIVER_ENTITY_ID = "infrared_receiver_entity_id"
DATA_BACKUP_AGENT_LISTENERS: HassKey[list[Callable[[], None]]] = HassKey(
f"{DOMAIN}.backup_agent_listeners"
)
INFRARED_FAN_ADDRESS = 0x1234
INFRARED_CMD_POWER_ON = 0x01
INFRARED_CMD_POWER_OFF = 0x02
INFRARED_CMD_SPEED_LOW = 0x03
INFRARED_CMD_SPEED_MEDIUM = 0x04
INFRARED_CMD_SPEED_HIGH = 0x05