Add toggle to remotes (#8483)

* Add toggle to remotes

* Only include activity if specified, and add service description
This commit is contained in:
Alan Fischer authored and Martin Hjelmare committed 2017-07-31 19:46:12 +02:00
1 parent 91b062f9b7
commit e6be560e00
5 files changed
+44 -10

No files matched your search

+1 -1
View File
@@ -68,7 +68,7 @@ class AppleTVRemote(remote.RemoteDevice):
self._power.set_power_on(True)
@asyncio.coroutine
def async_turn_off(self):
def async_turn_off(self, **kwargs):
"""Turn the device off.
This method is a coroutine.