diff --git a/components/alarm_control_panel.manual/index.html b/components/alarm_control_panel.manual/index.html
index 4b268758b3..d8e9a5451d 100644
--- a/components/alarm_control_panel.manual/index.html
+++ b/components/alarm_control_panel.manual/index.html
@@ -89,16 +89,16 @@
trigger:
- platform: state
entity_id: sensor.pir1
- state: 'active'
+ to: 'active'
- platform: state
entity_id: sensor.pir2
- state: 'active'
+ to: 'active'
- platform: state
entity_id: sensor.door
- state: 'open'
+ to: 'open'
- platform: state
entity_id: sensor.window
- state: 'open'
+ to: 'open'
condition:
- condition: state
entity_id: alarm_control_panel.ha_alarm
diff --git a/components/ifttt.manything/index.html b/components/ifttt.manything/index.html
index 92078a7dac..45087d1349 100644
--- a/components/ifttt.manything/index.html
+++ b/components/ifttt.manything/index.html
@@ -77,22 +77,22 @@
trigger:
- platform: state
entity_id: group.all_devices
- state: 'not_home'
+ to: 'not_home'
condition:
- platform: state
entity_id: sun.sun
- state: 'above_horizon'
+ state: 'above_horizon'
action:
service: ifttt.trigger
data: {"event":"manything_on"}
- alias: 'ManyThing Recording OFF'
# This calls an IFTTT recipe to turn off recording of the ManyThing Camera
- # when we are home unless it's nighttime.
+ # when we get home unless it's nighttime.
trigger:
- platform: state
entity_id: group.all_devices
- state: 'home'
+ to: 'home'
condition:
- condition: state
entity_id: sun.sun
diff --git a/components/media_player.frontier_silicon/index.html b/components/media_player.frontier_silicon/index.html
index 40ac1a231d..b6bb2cf116 100644
--- a/components/media_player.frontier_silicon/index.html
+++ b/components/media_player.frontier_silicon/index.html
@@ -98,10 +98,8 @@
trigger:
platform: state
entity_id: binary_sensor.motion_sensor_166d0001171111
-
from: 'off'
to: 'on'
- state: 'on'
action:
service: media_player.turn_on
data:
diff --git a/components/notify.webostv/index.html b/components/notify.webostv/index.html
index 25d16c0b3d..ab32b3e0d4 100644
--- a/components/notify.webostv/index.html
+++ b/components/notify.webostv/index.html
@@ -104,7 +104,7 @@
trigger:
platform: state
entity_id: binary_sensor.front_door_motion
- state: 'on'
+ to: 'on'
action:
service: notify.livingroom_tv
data:
diff --git a/components/sensor.modem_callerid/index.html b/components/sensor.modem_callerid/index.html
index 3fa36f26d8..a3f3295b43 100644
--- a/components/sensor.modem_callerid/index.html
+++ b/components/sensor.modem_callerid/index.html
@@ -90,7 +90,7 @@
trigger:
platform: state
entity_id: sensor.modem_callerid
- state: "callerid"
+ to: "callerid"
action:
service: notify.notify
data:
@@ -99,7 +99,7 @@
trigger:
platform: state
entity_id: sensor.modem_callerid
- state: "callerid"
+ to: "callerid"
action:
service: persistent_notification.create
data:
@@ -109,7 +109,7 @@
trigger:
platform: state
entity_id: sensor.modem_callerid
- state: "callerid"
+ to: "callerid"
action:
service: tts.google_say
data_template:
diff --git a/cookbook/automation_first_light/index.html b/cookbook/automation_first_light/index.html
index e046ad8f0f..7e858976b3 100644
--- a/cookbook/automation_first_light/index.html
+++ b/cookbook/automation_first_light/index.html
@@ -127,15 +127,15 @@
# if light is off, force a 0, otherwise use the brightness value
value_template: '{% if states.light.livingroom_ec.state == "on" %}{{ states.light.livingroom_ec.attributes.brightness }}{% else %}0{% endif %}'
# brightness below 50% (255 = 100%)
- below: 127
+ below: 128
- condition: numeric_state
entity_id: light.kitchen_bar
value_template: '{% if states.light.kitchen_bar.state == "on" %}{{ states.light.kitchen_bar.attributes.brightness }}{% else %}0{% endif %}'
- below: 127
+ below: 128
- condition: numeric_state
entity_id: light.kitchen_ceiling
value_template: '{% if states.light.kitchen_ceiling.state == "on" %}{{ states.light.kitchen_ceiling.attributes.brightness }}{% else %}0{% endif %}'
- below: 127
+ below: 128
# Trigger a scene
# You could add as many services or scenes as you'd like
diff --git a/cookbook/automation_flashing_lights/index.html b/cookbook/automation_flashing_lights/index.html
index 204b0e6530..ef3e0286c1 100644
--- a/cookbook/automation_flashing_lights/index.html
+++ b/cookbook/automation_flashing_lights/index.html
@@ -76,7 +76,7 @@
trigger:
platform: state
entity_id: binary_sensor.PIR1
- state: 'on'
+ to: 'on'
condition:
- condition: state
entity_id: switch.AlmAct1
@@ -94,7 +94,7 @@
trigger:
platform: state
entity_id: switch.AlmSnd1
- state: 'on'
+ to: 'on'
action:
service: script.turn_on
entity_id: script.flash_room1
@@ -103,11 +103,11 @@
trigger:
platform: state
entity_id: switch.REL1
- state: 'off'
+ to: 'off'
condition:
condition: state
entity_id: switch.AlmSnd1
- state: 'off'
+ to: 'off'
action:
service: script.turn_off
entity_id: script.flash_room1
diff --git a/cookbook/automation_for_rainy_days/index.html b/cookbook/automation_for_rainy_days/index.html
index 92de2130c5..462ab03faa 100644
--- a/cookbook/automation_for_rainy_days/index.html
+++ b/cookbook/automation_for_rainy_days/index.html
@@ -73,7 +73,7 @@
trigger:
- platform: state
entity_id: sensor.precip_intensity
- state: 'rain'
+ to: 'rain'
condition:
- platform: state
entity_id: group.all_devices
@@ -91,7 +91,7 @@
trigger:
- platform: state
entity_id: sensor.precip_intensity
- state: 'None'
+ to: 'None'
condition:
- condition: sun
after: 'sunset'
diff --git a/cookbook/restart_ha_if_wemo_switch_is_not_detected/index.html b/cookbook/restart_ha_if_wemo_switch_is_not_detected/index.html
index 0c826c2f6d..646bfddf3c 100644
--- a/cookbook/restart_ha_if_wemo_switch_is_not_detected/index.html
+++ b/cookbook/restart_ha_if_wemo_switch_is_not_detected/index.html
@@ -133,7 +133,7 @@
trigger:
- platform: state
entity_id: switch.KillHass
- state: 'on'
+ to: 'on'
action:
service: homeassistant.stop
- alias: 'Stop restarting HA is WeMo is found'
diff --git a/cookbook/turn_on_light_for_10_minutes_when_motion_detected/index.html b/cookbook/turn_on_light_for_10_minutes_when_motion_detected/index.html
index 48084ce001..82cfe1885c 100644
--- a/cookbook/turn_on_light_for_10_minutes_when_motion_detected/index.html
+++ b/cookbook/turn_on_light_for_10_minutes_when_motion_detected/index.html
@@ -73,7 +73,7 @@
trigger:
platform: state
entity_id: sensor.motion_sensor
- state: 'on'
+ to: 'on'
action:
service: homeassistant.turn_on
entity_id: light.kitchen
@@ -82,7 +82,7 @@
trigger:
platform: state
entity_id: sensor.motion_sensor
- state: 'off'
+ to: 'off'
for:
minutes: 10
action:
diff --git a/docs/automation/examples/index.html b/docs/automation/examples/index.html
index cfe77e4137..0758de48b3 100644
--- a/docs/automation/examples/index.html
+++ b/docs/automation/examples/index.html
@@ -81,7 +81,7 @@
offset: '-01:00:00'
- platform: state
entity_id: group.all_devices
- state: 'home'
+ to: 'home'
condition:
# Prefix the first line of each condition configuration
# with a '-'' to enter multiple
@@ -100,7 +100,7 @@
trigger:
platform: state
entity_id: group.all_devices
- state: 'not_home'
+ to: 'not_home'
action:
service: light.turn_off
entity_id: group.all_lights
diff --git a/docs/scripts/conditions/index.html b/docs/scripts/conditions/index.html
index 2ccd86f85d..1308e22fe3 100644
--- a/docs/scripts/conditions/index.html
+++ b/docs/scripts/conditions/index.html
@@ -114,8 +114,8 @@ This allows you to mix several AND and OR conditions together.
Numeric state condition
-This type of condition attempts to parse the state of specified entity as a number and triggers if the value matches all of the above or below thresholds.
-For above, the condition passes if value >= above
. For below, the condition passes if value <= below
. If both below
and above
are specified, both tests have to pass.
+This type of condition attempts to parse the state of specified entity as a number and triggers if the value matches the thresholds.
+If both below
and above
are specified, both tests have to pass.
You can optionally use a value_template
to process the value of the state before testing it.
condition:
condition: numeric_state
diff --git a/sitemap.xml b/sitemap.xml
index 6b72e4fea2..a48d4f3859 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -3495,62 +3495,62 @@
https://home-assistant.io/demo/frontend.html
-2017-06-04T16:18:58+00:00
+2017-06-04T16:47:42+00:00
https://home-assistant.io/demo/index.html
-2017-06-04T16:18:58+00:00
+2017-06-04T16:47:42+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-event.html
-2017-06-04T16:18:58+00:00
+2017-06-04T16:47:42+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-info.html
-2017-06-04T16:18:58+00:00
+2017-06-04T16:47:42+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-service.html
-2017-06-04T16:18:58+00:00
+2017-06-04T16:47:42+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-state.html
-2017-06-04T16:18:58+00:00
+2017-06-04T16:47:42+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-template.html
-2017-06-04T16:18:58+00:00
+2017-06-04T16:47:42+00:00
https://home-assistant.io/demo/panels/ha-panel-history.html
-2017-06-04T16:18:58+00:00
+2017-06-04T16:47:42+00:00
https://home-assistant.io/demo/panels/ha-panel-iframe.html
-2017-06-04T16:18:58+00:00
+2017-06-04T16:47:42+00:00
https://home-assistant.io/demo/panels/ha-panel-logbook.html
-2017-06-04T16:18:58+00:00
+2017-06-04T16:47:42+00:00
https://home-assistant.io/demo/panels/ha-panel-map.html
-2017-06-04T16:18:58+00:00
+2017-06-04T16:47:42+00:00
https://home-assistant.io/googlef4f3693c209fe788.html
-2017-06-04T16:18:58+00:00
+2017-06-04T16:47:42+00:00
https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html
-2017-06-04T16:18:58+00:00
+2017-06-04T16:47:43+00:00
https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html
-2017-06-04T16:18:58+00:00
+2017-06-04T16:47:43+00:00
https://home-assistant.io/static/mdi-demo.html
-2017-06-04T16:18:58+00:00
+2017-06-04T16:47:43+00:00