Prepare Plugwise integration for USB products (#41201)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
1 parent
343e5d64b8
commit
b8f291d58e
10 files changed
+299
-212
No files matched your search
@@ -1,6 +1,9 @@
|
||||
"""Constant for Plugwise component."""
|
||||
DOMAIN = "plugwise"
|
||||
|
||||
SENSOR_PLATFORMS = ["sensor"]
|
||||
ALL_PLATFORMS = ["binary_sensor", "climate", "sensor", "switch"]
|
||||
|
||||
# Sensor mapping
|
||||
SENSOR_MAP_MODEL = 0
|
||||
SENSOR_MAP_UOM = 1
|
||||
@@ -42,3 +45,9 @@ FLOW_ON_ICON = "mdi:water-pump"
|
||||
|
||||
UNDO_UPDATE_LISTENER = "undo_update_listener"
|
||||
COORDINATOR = "coordinator"
|
||||
|
||||
ZEROCONF_MAP = {
|
||||
"smile": "P1",
|
||||
"smile_thermo": "Anna",
|
||||
"smile_open_therm": "Adam",
|
||||
}
|
||||
Reference in new issue
Block a user