Hue device hue_sw_br_ct added

This commit is contained in:
Dirk Alders 2025-01-25 10:28:34 +01:00
parent 118e80f070
commit 619d7f926f
2 changed files with 4 additions and 1 deletions

View File

@ -5,7 +5,6 @@ from devdi import topic as props
from devdi.topic import topic_by_props
import devices
import logging
import sys
try:
from config import APP_NAME as ROOT_LOGGER_NAME
@ -21,6 +20,7 @@ class base(dict):
def __dty_repr__(self, dty):
return {
props.DTY_SHY_SW1: devices.shelly_sw1,
props.DTY_HLI_SBT: devices.hue_sw_br_ct,
props.DTY_TLI_Sxx: devices.tradfri_sw,
props.DTY_TLI_SBx: devices.tradfri_sw_br,
props.DTY_TLI_SBT: devices.tradfri_sw_br_ct,
@ -193,6 +193,7 @@ class physical_devices(base):
#
self.add(mqtt_client, props.STG_SHE, loc, roo, props.FUN_MAL, props.DTY_SHY_SW1) # Shelly Main Light
self.add(mqtt_client, props.STG_SHE, loc, roo, props.FUN_CIR, props.DTY_SHY_SW1) # Shelly Main Light
self.add(mqtt_client, props.STG_ZFE, loc, roo, props.FUN_MAL, props.DTY_HLI_SBT, 2) # Hue Main Light
self.add(mqtt_client, props.STG_ZFE, loc, roo, props.FUN_HEA, props.DTY_BVL_xxx) # Brennenstuhl Heatingvalve
# DININGROOM

View File

@ -29,6 +29,8 @@ DTY_MRE_xxx = 12
""" My Remote control """
DTY_MAM_THP = 13
""" My Ambient Information (Temperature, Humidity, Pressure)"""
DTY_HLI_SBT = 14
""" Hue Light (Switching, Brightnes and Colortemperature) """
#
# Source Transmission Group