Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - alias: "Mike WiFi Connect"
- trigger:
- - platform: state
- entity_id:
- - sensor.mike_tasker_wifi
- action:
- - service_template: >-
- {%- if is_state('sensor.mike_tasker_wifi', 'Away') -%}
- service: script.update_mikes_location_wifi_away
- {%- else -%}
- service: script.update_mikes_location_wifi_connect
- {%- endif -%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement