more changes for dictionary unpacking

This commit is contained in:
John Lancaster
2024-08-27 19:14:26 -05:00
parent a8e0b53c53
commit 4114fb4c54
8 changed files with 26 additions and 386 deletions

View File

@@ -54,10 +54,10 @@ class SoundBar(Hass):
command=command
)
def turn_on_soundbar(self, entity=None, attribute=None, old=None, new=None, kwargs=None):
def turn_on_soundbar(self, entity=None, attribute=None, old=None, new=None, **kwargs):
self.log(f'{self.playing_entity} is playing')
self.send_remote_command(command='TV')
def hardware_off_callback(self, entity=None, attribute=None, old=None, new=None, kwargs=None):
def hardware_off_callback(self, entity=None, attribute=None, old=None, new=None, **kwargs):
self.log(f'{self.off_entity} is off')
self.send_remote_command(command='power')