Skip to content

Commit

Permalink
🗣 fix silent_execution for xiaomi.wifispeaker.lx01 (#923)
Browse files Browse the repository at this point in the history
  • Loading branch information
cheny95 authored Dec 7, 2022
1 parent 8ff5be4 commit 93ec597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/xiaomi_miot/media_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ def intelligent_speaker(self, text, execute=False, silent=False, **kwargs):
pse = srv.get_property('silent_execution')
if execute and pse:
sil = not silent
if self.model in ['xiaomi.wifispeaker.l05b', 'xiaomi.wifispeaker.l05c']:
if self.model in ['xiaomi.wifispeaker.l05b', 'xiaomi.wifispeaker.l05c', 'xiaomi.wifispeaker.lx01']:
sil = silent
if pse.value_list:
sil = pse.list_value('On' if silent else 'Off')
Expand Down

0 comments on commit 93ec597

Please sign in to comment.