|
@@ -32,6 +32,7 @@ class base(dict):
|
32
|
32
|
props.DTY_MPP_4xx: devices.my_powerplug,
|
33
|
33
|
props.DTY_MAS_xxx: devices.audio_status,
|
34
|
34
|
props.DTY_MRE_xxx: devices.remote,
|
|
35
|
+ props.DTY_MAM_THP: devices.my_ambient,
|
35
|
36
|
}.get(dty)
|
36
|
37
|
|
37
|
38
|
def add(self, mqtt_client, stg, loc, roo, fun, dty, num=None):
|
|
@@ -133,6 +134,7 @@ class physical_devices(base):
|
133
|
134
|
self.add(mqtt_client, props.STG_MYA, loc, roo, props.FUN_ASM, props.DTY_MAS_xxx) # Audio status MPD
|
134
|
135
|
self.add(mqtt_client, props.STG_MYA, loc, roo, props.FUN_ASB, props.DTY_MAS_xxx) # Audio status Bluetooth
|
135
|
136
|
self.add(mqtt_client, props.STG_ZGW, loc, roo, props.FUN_HEA, props.DTY_BVL_xxx) # Brennenstuhl Heatingvalve
|
|
137
|
+ self.add(mqtt_client, props.STG_MYA, loc, roo, props.FUN_AMB, props.DTY_MAM_THP) # My Ambient information
|
136
|
138
|
|
137
|
139
|
# GARDEN
|
138
|
140
|
self.add(mqtt_client, props.STG_ZGW, props.LOC_GAR, props.ROO_GAR, props.FUN_GAR, props.DTY_SPP_SW1)
|
|
@@ -186,6 +188,7 @@ class physical_devices(base):
|
186
|
188
|
self.add(mqtt_client, props.STG_ZFE, loc, roo, props.FUN_FLL, props.DTY_SPP_SW1) # Powerplug Floor Light
|
187
|
189
|
self.add(mqtt_client, props.STG_ZFE, loc, roo, props.FUN_GAR, props.DTY_SPP_SW1) # Powerplug Garland
|
188
|
190
|
self.add(mqtt_client, props.STG_ZFE, loc, roo, props.FUN_HEA, props.DTY_BVL_xxx) # Brennenstuhl Heatingvalve
|
|
191
|
+ self.add(mqtt_client, props.STG_MYA, loc, roo, props.FUN_AMB, props.DTY_MAM_THP) # My Ambient information
|
189
|
192
|
|
190
|
193
|
# SLEEP
|
191
|
194
|
roo = props.ROO_SLP
|