Home Assistant Unofficial Reference 2024.12.1
const.py
Go to the documentation of this file.
1 """Constants for the Nibe Heat Pump integration."""
2 
3 import logging
4 
5 DOMAIN = "nibe_heatpump"
6 LOGGER = logging.getLogger(__package__)
7 
8 CONF_LISTENING_PORT = "listening_port"
9 CONF_REMOTE_READ_PORT = "remote_read_port"
10 CONF_REMOTE_WRITE_PORT = "remote_write_port"
11 CONF_WORD_SWAP = "word_swap"
12 CONF_CONNECTION_TYPE = "connection_type"
13 CONF_CONNECTION_TYPE_NIBEGW = "nibegw"
14 CONF_CONNECTION_TYPE_MODBUS = "modbus"
15 CONF_MODBUS_URL = "modbus_url"
16 CONF_MODBUS_UNIT = "modbus_unit"
17 
18 VALUES_MIXING_VALVE_CLOSED_STATE = (30, "CLOSED", "SHUNT CLOSED")
19 VALUES_PRIORITY_HEATING = (30, "HEAT")
20 VALUES_PRIORITY_COOLING = (60, "COOLING")
21 VALUES_PRIORITY_HOT_WATER = (20, "HOT WATER")
22 VALUES_TEMPORARY_LUX_INACTIVE = "OFF"
23 VALUES_TEMPORARY_LUX_ONE_TIME_INCREASE = "ONE TIME INCREASE"
24 VALUES_COOL_WITH_ROOM_SENSOR_OFF = (0, "OFF")