From 35c673637eb6297dec66c3ddd359696427d98222 Mon Sep 17 00:00:00 2001 From: themanieldaniel Date: Tue, 19 Jun 2018 07:23:26 -0400 Subject: [PATCH] Update switch.markdown --- source/_components/switch.markdown | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/_components/switch.markdown b/source/_components/switch.markdown index 54fb891d5c9..6e93003ceeb 100644 --- a/source/_components/switch.markdown +++ b/source/_components/switch.markdown @@ -12,11 +12,11 @@ footer: true Keeps track which switches are in your environment, their state and allows you to control them. * Maintains a state per switch and a combined state `all_switches`. - * Registers services `switch/turn_on`, `switch/turn_off`, and `switch/toggle` to control switches. + * Registers services `switch.turn_on`, `switch.turn_off`, and `switch.toggle` to control switches. ### {% linkable_title Use the services %} -Go the **Developer Tools**, then to **Call Service** in the frontend, and choose `switch/turn_on` or `switch/turn_off` from the list of available services (**Available services:** on the left). Enter something like the sample below into the **Service Data** field and hit **CALL SERVICE**. +In the frontend open the sidebar. At the bottom, under **Developer Tools**, click **Services**. From the Service dropdown menu choose `switch.turn_on` or `switch.turn_off` from the list of available services. In the Entity dropdown menu choose or enter the entity ID you want to work with. This will enter something like the sample below into the **Service Data** field. Now hit **CALL SERVICE**. ```json {"entity_id":"livingroom_pin2"} @@ -24,4 +24,4 @@ Go the **Developer Tools**, then to **Call Service** in the frontend, and choose | Service data attribute | Optional | Description | | ---------------------- | -------- | ----------- | -| `entity_id` | yes | Only act on specific switch. Else targets all. +| `entity_id` | yes | Only act on a specific switch. Otherwise it targets all switches.