New HA Git Ready

View All Rules

alias: New HA Git Ready
trigger:
  - platform: state
    entity_id: sensor.gitlab_279_pipeline_master
    to: 'passed'
action:
  - service: hassio.addon_start
    data:
      addon: "core_git_pull"
  - service: script.notify_tts_room
    data_template:
      room: "study"
      value1: "Updating Home Assistant configuration."
      hashtag: "#GitLab #CI"
  - service: script.notify_join
    data_template:
      who: "stuart"
      title: 'Home Assistant Updating'
      notification_id: "hass-online"
      value1: "Updating Home Assistant configuration."

© 2020. Some rights reserved. The contents of this site is released under a Creative Commons Attribution-Share Alike license.