diff --git a/atom.xml b/atom.xml index 676495ae37..c26669eeb3 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@
Here’s an example of input_slider
being used as a trigger in an automation.
# Example configuration.yaml entry using 'input_slider' as a trigger in an automation
+
+# Example configuration.yaml entry using 'input_slider' as a trigger in an automation
# Define input_slider
input_slider:
@@ -142,11 +143,13 @@ automation:
data_template:
entity_id: light.bedroom
brightness: '{{ trigger.to_state.state | int }}'
+
Another code example using input_slider
, this time being used in an action in an automation.
-# Example configuration.yaml entry using 'input_slider' in an action in an automation
+
+# Example configuration.yaml entry using 'input_slider' in an action in an automation
# Define 'input_select'
input_select:
@@ -183,6 +186,7 @@ automation:
data_template:
entity_id: light.bedroom
brightness: '{{ states.input_slider.bedroom_brightness.state | int }}'
+
diff --git a/developers/development_validation/index.html b/developers/development_validation/index.html
index 96c6f1eeff..9d8dd4404e 100644
--- a/developers/development_validation/index.html
+++ b/developers/development_validation/index.html
@@ -157,7 +157,7 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
- Sensor types
+ Lists
If a sensor has a pre-defined list of available options it should be tested if the configuration entry matches it.
@@ -170,7 +170,7 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
...
vol.Optional(CONF_MONITORED_VARIABLES, default=[]):
- [vol.In(SENSOR_TYPES)],
+ vol.All(ensure_list, [vol.In(SENSOR_TYPES)]),
diff --git a/sitemap.xml b/sitemap.xml
index 8d60921292..9fe749bca9 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -2088,62 +2088,62 @@
https://home-assistant.io/demo/frontend.html
- 2016-08-18T05:44:30+00:00
+ 2016-08-18T05:52:02+00:00
https://home-assistant.io/demo/index.html
- 2016-08-18T05:44:30+00:00
+ 2016-08-18T05:52:02+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-event.html
- 2016-08-18T05:44:30+00:00
+ 2016-08-18T05:52:02+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-info.html
- 2016-08-18T05:44:30+00:00
+ 2016-08-18T05:52:02+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-service.html
- 2016-08-18T05:44:30+00:00
+ 2016-08-18T05:52:02+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-state.html
- 2016-08-18T05:44:30+00:00
+ 2016-08-18T05:52:02+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-template.html
- 2016-08-18T05:44:30+00:00
+ 2016-08-18T05:52:02+00:00
https://home-assistant.io/demo/panels/ha-panel-history.html
- 2016-08-18T05:44:30+00:00
+ 2016-08-18T05:52:02+00:00
https://home-assistant.io/demo/panels/ha-panel-iframe.html
- 2016-08-18T05:44:30+00:00
+ 2016-08-18T05:52:02+00:00
https://home-assistant.io/demo/panels/ha-panel-logbook.html
- 2016-08-18T05:44:30+00:00
+ 2016-08-18T05:52:02+00:00
https://home-assistant.io/demo/panels/ha-panel-map.html
- 2016-08-18T05:44:30+00:00
+ 2016-08-18T05:52:02+00:00
https://home-assistant.io/googlef4f3693c209fe788.html
- 2016-08-18T05:44:30+00:00
+ 2016-08-18T05:52:02+00:00
https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html
- 2016-08-18T05:44:30+00:00
+ 2016-08-18T05:52:02+00:00
https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html
- 2016-08-18T05:44:30+00:00
+ 2016-08-18T05:52:02+00:00
https://home-assistant.io/static/mdi-demo.html
- 2016-08-18T05:44:30+00:00
+ 2016-08-18T05:52:02+00:00