Add toggle to remotes (#8483)
* Add toggle to remotes * Only include activity if specified, and add service description
This commit is contained in:
1 parent
91b062f9b7
commit
e6be560e00
5 files changed
+44
-10
No files matched your search
@@ -102,7 +102,7 @@ class ITachIP2IRRemote(remote.RemoteDevice):
|
||||
self.itachip2ir.send(self._name, "ON", 1)
|
||||
self.schedule_update_ha_state()
|
||||
|
||||
def turn_off(self):
|
||||
def turn_off(self, **kwargs):
|
||||
"""Turn the device off."""
|
||||
self._power = False
|
||||
self.itachip2ir.send(self._name, "OFF", 1)
|
||||
|
||||
Reference in new issue
Block a user