From 84cfe998e47155ccd353699fe1ba134677e41cd5 Mon Sep 17 00:00:00 2001 From: Bart274 Date: Wed, 8 Jun 2016 17:55:44 +0200 Subject: [PATCH] Add information about entity_id config option (#541) --- source/_components/switch.template.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/source/_components/switch.template.markdown b/source/_components/switch.template.markdown index 21057e58786..7ddf487bf16 100644 --- a/source/_components/switch.template.markdown +++ b/source/_components/switch.template.markdown @@ -42,6 +42,7 @@ Configuration variables: - **value_template** (*Required*): Defines a [template](/topics/templating/) to set the state of the switch. - **turn_on** (*Required*): Defines an [action](/getting-started/automation/) to run when the switch is turned on. - **turn_off** (*Required*): Defines an [action](/getting-started/automation/) to run when the switch is turned off. + - **entity_id** (*Optional*): Add a list of entity_ids so the sensor only reacts to state changes of these entities. This will reduce the number of times the sensor will try to update it's state. ## {% linkable_title Examples %}