added tardfri powerport - gfw dock

This commit is contained in:
Dirk Alders 2024-06-26 21:11:26 +02:00
parent 2e66d0e274
commit fc1f86ab5a
2 changed files with 4 additions and 1 deletions

View File

@ -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_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_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_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_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_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 self.add(mqtt_client, props.STG_MYA, loc, roo, props.FUN_ASM, props.DTY_MAS_xxx) # Audio status MPD

View File

@ -130,7 +130,8 @@ FUN_ASM = 17
""" Audio status mpd """ """ Audio status mpd """
FUN_ASB = 18 FUN_ASB = 18
""" Audio status bluetooth """ """ Audio status bluetooth """
FUN_DCK = 19
""" Docking Station """
class topic_by_props(UserString): class topic_by_props(UserString):
def __init__(self, stg, loc, roo, fun): def __init__(self, stg, loc, roo, fun):
@ -222,6 +223,7 @@ class topic_by_props(UserString):
FUN_HEA: 'heating_valve', FUN_HEA: 'heating_valve',
FUN_MPP: 'powerplug', FUN_MPP: 'powerplug',
FUN_INP: 'input_device', FUN_INP: 'input_device',
FUN_DCK: 'dock',
FUN_CIR: 'circulation_pump', FUN_CIR: 'circulation_pump',
FUN_GAR: 'garland', FUN_GAR: 'garland',
FUN_XTR: 'xmas-tree', FUN_XTR: 'xmas-tree',