Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for the wiffi component."""
2 
3 # Component domain, used to store component data in hass data.
4 DOMAIN = "wiffi"
5 
6 # Default port for TCP server
7 DEFAULT_PORT = 8189
8 
9 # Default timeout in minutes
10 DEFAULT_TIMEOUT = 3
11 
12 # Signal name to send create/update to platform (sensor/binary_sensor)
13 CREATE_ENTITY_SIGNAL = "wiffi_create_entity_signal"
14 UPDATE_ENTITY_SIGNAL = "wiffi_update_entity_signal"
15 CHECK_ENTITIES_SIGNAL = "wiffi_check_entities_signal"