From 83d945a0c40778a7dde508e193468b2c05ff0f05 Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Mon, 12 Jul 2021 09:47:00 +0200 Subject: [PATCH] Tweak language for remote turn_on, turn_off, toggle services (#1002) --- docs/core/entity/remote.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/core/entity/remote.md b/docs/core/entity/remote.md index 350ae343..20129b3c 100644 --- a/docs/core/entity/remote.md +++ b/docs/core/entity/remote.md @@ -34,10 +34,10 @@ An activity is a predefined activity or macro that puts the remote in a specific class MyRemote(RemoteEntity): def turn_on(self, activity: str = None, **kwargs): - """Turn the remote on.""" + """Send the power on command.""" async def async_turn_on(self, activity: str = None, **kwargs): - """Turn the remote on.""" + """Send the power on command.""" ``` ### Turn Off Command @@ -46,10 +46,10 @@ class MyRemote(RemoteEntity): class MyRemote(RemoteEntity): def turn_off(self, activity: str = None, **kwargs): - """Turn the remote off.""" + """Send the power off command.""" async def async_turn_off(self, activity: str = None, **kwargs): - """Turn the remote off.""" + """Send the power off command.""" ``` ### Toggle Command @@ -58,10 +58,10 @@ class MyRemote(RemoteEntity): class MyRemote(RemoteEntity): def toggle(self, activity: str = None, **kwargs): - """Toggle the remote.""" + """Toggle a device.""" async def async_toggle(self, activity: str = None, **kwargs): - """Toggle the remote.""" + """Toggle a device.""" ``` ### Send Command