Hue device hue_sw_br_ct added
This commit is contained in:
parent
118e80f070
commit
619d7f926f
@ -5,7 +5,6 @@ from devdi import topic as props
|
|||||||
from devdi.topic import topic_by_props
|
from devdi.topic import topic_by_props
|
||||||
import devices
|
import devices
|
||||||
import logging
|
import logging
|
||||||
import sys
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from config import APP_NAME as ROOT_LOGGER_NAME
|
from config import APP_NAME as ROOT_LOGGER_NAME
|
||||||
@ -21,6 +20,7 @@ class base(dict):
|
|||||||
def __dty_repr__(self, dty):
|
def __dty_repr__(self, dty):
|
||||||
return {
|
return {
|
||||||
props.DTY_SHY_SW1: devices.shelly_sw1,
|
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_Sxx: devices.tradfri_sw,
|
||||||
props.DTY_TLI_SBx: devices.tradfri_sw_br,
|
props.DTY_TLI_SBx: devices.tradfri_sw_br,
|
||||||
props.DTY_TLI_SBT: devices.tradfri_sw_br_ct,
|
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_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_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
|
self.add(mqtt_client, props.STG_ZFE, loc, roo, props.FUN_HEA, props.DTY_BVL_xxx) # Brennenstuhl Heatingvalve
|
||||||
|
|
||||||
# DININGROOM
|
# DININGROOM
|
||||||
|
2
topic.py
2
topic.py
@ -29,6 +29,8 @@ DTY_MRE_xxx = 12
|
|||||||
""" My Remote control """
|
""" My Remote control """
|
||||||
DTY_MAM_THP = 13
|
DTY_MAM_THP = 13
|
||||||
""" My Ambient Information (Temperature, Humidity, Pressure)"""
|
""" My Ambient Information (Temperature, Humidity, Pressure)"""
|
||||||
|
DTY_HLI_SBT = 14
|
||||||
|
""" Hue Light (Switching, Brightnes and Colortemperature) """
|
||||||
|
|
||||||
#
|
#
|
||||||
# Source Transmission Group
|
# Source Transmission Group
|
||||||
|
Loading…
x
Reference in New Issue
Block a user