From 39f15f9724fb51d5cf17fd79c4bc67cf6a17c7b6 Mon Sep 17 00:00:00 2001 From: tomlut <10679300+tomlut@users.noreply.github.com> Date: Tue, 5 Dec 2023 19:31:49 +1100 Subject: [PATCH] Update sensor.rest.markdown (#30154) --- source/_integrations/sensor.rest.markdown | 28 +---------------------- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/source/_integrations/sensor.rest.markdown b/source/_integrations/sensor.rest.markdown index 5615c0357fb..7a224533802 100644 --- a/source/_integrations/sensor.rest.markdown +++ b/source/_integrations/sensor.rest.markdown @@ -411,7 +411,7 @@ rest: {% endraw %} -The example below shows how to extract multiple values from a dictionary from the XML file of a Steamist Steambath Wi-Fi interface. The values are used to create a switch and multiple sensors without having to poll the endpoint numerous times. +The example below shows how to extract multiple values from a dictionary from the XML file of a Steamist Steambath Wi-Fi interface. The values are used to create multiple sensors without having to poll the endpoint numerous times. {% raw %} @@ -431,32 +431,6 @@ rest: value_template: "{{ json_value['response']['time0'] }}" unit_of_measurement: "minutes" - switch: - - name: "Steam" - value_template: "{{ json_value['response']['usr0'] | int >= 1 }}" - turn_on: - - service: rest_command.set_steam_led - data: - led: 6 - - service: homeassistant.update_entity - target: - entity_id: sensor.steam_system_data - - delay: 00:00:15 - - service: homeassistant.update_entity - target: - entity_id: sensor.steam_system_data - turn_off: - - service: rest_command.set_steam_led - data: - led: 7 - - service: homeassistant.update_entity - target: - entity_id: sensor.steam_system_data - - delay: 00:00:15 - - service: homeassistant.update_entity - target: - entity_id: sensor.steam_system_data - rest_command: set_steam_led: url: http://192.168.1.105/leds.cgi?led={{ led }}