added tardfri powerport - gfw dock
This commit is contained in:
parent
2e66d0e274
commit
fc1f86ab5a
@ -125,6 +125,7 @@ class physical_devices(base):
|
||||
self.add(mqtt_client, props.STG_ZGW, loc, roo, props.FUN_INP, props.DTY_TIN_5xx) # Tradfri Input Device 5 Buttons
|
||||
self.add(mqtt_client, props.STG_MYA, loc, roo, props.FUN_MPP, props.DTY_MPP_4xx) # My 4 port Powerplug
|
||||
self.add(mqtt_client, props.STG_ZGW, loc, roo, props.FUN_DEL, props.DTY_TLI_SBT) # Tradfri Desklight
|
||||
self.add(mqtt_client, props.STG_ZGW, loc, roo, props.FUN_DCK, props.DTY_SPP_SW1) # Tradfri 1 port Powerplug
|
||||
self.add(mqtt_client, props.STG_MYA, loc, roo, props.FUN_RCA, props.DTY_MRE_xxx) # Remote Control IR Amplifier
|
||||
self.add(mqtt_client, props.STG_MYA, loc, roo, props.FUN_ASS, props.DTY_MAS_xxx) # Audio status Spotify
|
||||
self.add(mqtt_client, props.STG_MYA, loc, roo, props.FUN_ASM, props.DTY_MAS_xxx) # Audio status MPD
|
||||
|
4
topic.py
4
topic.py
@ -130,7 +130,8 @@ FUN_ASM = 17
|
||||
""" Audio status mpd """
|
||||
FUN_ASB = 18
|
||||
""" Audio status bluetooth """
|
||||
|
||||
FUN_DCK = 19
|
||||
""" Docking Station """
|
||||
|
||||
class topic_by_props(UserString):
|
||||
def __init__(self, stg, loc, roo, fun):
|
||||
@ -222,6 +223,7 @@ class topic_by_props(UserString):
|
||||
FUN_HEA: 'heating_valve',
|
||||
FUN_MPP: 'powerplug',
|
||||
FUN_INP: 'input_device',
|
||||
FUN_DCK: 'dock',
|
||||
FUN_CIR: 'circulation_pump',
|
||||
FUN_GAR: 'garland',
|
||||
FUN_XTR: 'xmas-tree',
|
||||
|
Loading…
x
Reference in New Issue
Block a user