diff --git a/source/_posts/2016-05-19-ibeacons-how-to-track-things-that-cant-track-themselves-part-ii.markdown b/source/_posts/2016-05-19-ibeacons-how-to-track-things-that-cant-track-themselves-part-ii.markdown index 8660c0e585b..0b14982658d 100644 --- a/source/_posts/2016-05-19-ibeacons-how-to-track-things-that-cant-track-themselves-part-ii.markdown +++ b/source/_posts/2016-05-19-ibeacons-how-to-track-things-that-cant-track-themselves-part-ii.markdown @@ -63,7 +63,7 @@ automation: from: 'not_home' to: 'home' condition: - - platform: state + - condition: state entity_id: switch.gate state: 'off' action: @@ -80,7 +80,7 @@ automation: platform: template value_template: {% raw %}'{{states.device_tracker.greg_gregphone.state != states.device_tracker.beacon_keys.state}}'{% endraw %} condition: - platform: template + condition: template value_template: {% raw %}'{{ states.device_tracker.greg_gregphone.state != "home" }}'{% endraw %} action: service: script.turn_on @@ -91,7 +91,7 @@ automation: platform: template value_template: {% raw %}'{{states.device_tracker.greg_gregphone.state == states.device_tracker.beacon_keys.state}}'{% endraw %} condition: - - platform: state + - condition: state entity_id: script.send_key_alert state: 'on' action: