From a8391fe77c6be4a84d6346c45654f15f47702e29 Mon Sep 17 00:00:00 2001 From: Tsvi Mostovicz Date: Thu, 29 Nov 2018 20:04:38 +0200 Subject: [PATCH] Fix link to state helper (#7687) It seems the code has changed but the link hasn't been updated. --- source/_components/scene.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_components/scene.markdown b/source/_components/scene.markdown index 69e07dea785..78618af7751 100644 --- a/source/_components/scene.markdown +++ b/source/_components/scene.markdown @@ -50,7 +50,7 @@ As you can see, there are two ways to define the states of each `entity_id`: - Define the `state` directly with the entity. - Define a complex state with its attributes. -The mapping from states to services is done with the [state helper](https://github.com/home-assistant/home-assistant/blob/master/homeassistant/helpers/state.py#L74). So, please have a look there for available states for your scenes. +The mapping from states to services is done with the [state helper](https://github.com/home-assistant/home-assistant/blob/master/homeassistant/helpers/state.py#L82). So, please have a look there for available states for your scenes. Scenes can be activated using the service `scene.turn_on` (there is no 'scene.turn_off' service).