more changes for dictionary unpacking
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user