Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for the ENOcean integration."""
2 
3 import logging
4 
5 from homeassistant.const import Platform
6 
7 DOMAIN = "enocean"
8 DATA_ENOCEAN = "enocean"
9 ENOCEAN_DONGLE = "dongle"
10 
11 ERROR_INVALID_DONGLE_PATH = "invalid_dongle_path"
12 
13 SIGNAL_RECEIVE_MESSAGE = "enocean.receive_message"
14 SIGNAL_SEND_MESSAGE = "enocean.send_message"
15 
16 LOGGER = logging.getLogger(__package__)
17 
18 PLATFORMS = [
19  Platform.BINARY_SENSOR,
20  Platform.LIGHT,
21  Platform.SENSOR,
22  Platform.SWITCH,
23 ]