|
@@ -128,6 +128,8 @@ FUN_ASS = 16
|
128
|
128
|
""" Audio status spotify """
|
129
|
129
|
FUN_ASM = 17
|
130
|
130
|
""" Audio status mpd """
|
|
131
|
+FUN_ASB = 18
|
|
132
|
+""" Audio status bluetooth """
|
131
|
133
|
|
132
|
134
|
|
133
|
135
|
class topic_by_props(UserString):
|
|
@@ -157,6 +159,8 @@ class topic_by_props(UserString):
|
157
|
159
|
return "my_apps/gfw/dirk/hifi/spotify"
|
158
|
160
|
elif stg == STG_MYA and loc == LOC_GFW and roo == ROO_DIR and fun == FUN_ASM:
|
159
|
161
|
return "my_apps/gfw/dirk/hifi/mpd"
|
|
162
|
+ elif stg == STG_MYA and loc == LOC_GFW and roo == ROO_DIR and fun == FUN_ASB:
|
|
163
|
+ return "my_apps/gfw/dirk/hifi/btaudio"
|
160
|
164
|
elif stg == STG_ZFE and loc == LOC_FFE and roo == ROO_DIN and fun == FUN_FLL:
|
161
|
165
|
return "zigbee/ffe/diningroom/powerplug_floorlamp"
|
162
|
166
|
elif stg == STG_ZFE and loc == LOC_FFE and roo == ROO_LIV and fun == FUN_FLL:
|
|
@@ -227,4 +231,5 @@ class topic_by_props(UserString):
|
227
|
231
|
FUN_RCC: 'remote_ctrl_cd',
|
228
|
232
|
FUN_ASS: 'audio_status_spotify',
|
229
|
233
|
FUN_ASM: 'audio_status_mpd',
|
|
234
|
+ FUN_ASB: 'audio_status_bt',
|
230
|
235
|
}.get(fun)
|