mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-20 12:10:28 +00:00
Closes # 1085 - With Trigger IDs.
This commit is contained in:
@@ -26,11 +26,6 @@ automation:
|
||||
weekday:
|
||||
- wed
|
||||
action:
|
||||
- service: persistent_notification.create
|
||||
data:
|
||||
title: Low Ink
|
||||
message: "{{ trigger.to_state.attributes.friendly_name }} is at {{ trigger.to_state.state }} "
|
||||
notification_id: low-battery-alert
|
||||
- service: script.notify_engine
|
||||
data:
|
||||
value1: "{{ trigger.to_state.attributes.friendly_name }} is at {{ trigger.to_state.state }} "
|
||||
|
@@ -16,11 +16,11 @@ homeassistant:
|
||||
customize:
|
||||
|
||||
sensor.holiday:
|
||||
|
||||
|
||||
icon: mdi:beach
|
||||
friendly_name: US Holiday
|
||||
sensor.flag:
|
||||
|
||||
|
||||
icon: mdi:flag
|
||||
friendly_name: Flag Day
|
||||
|
||||
@@ -153,10 +153,6 @@ automation:
|
||||
- condition: template
|
||||
value_template: "{{ states.sensor.holiday.state | trim != '' }}"
|
||||
action:
|
||||
- service: persistent_notification.create
|
||||
data:
|
||||
message: 'Today is {{ states.sensor.holiday.state }}.'
|
||||
title: '{{ states.sensor.holiday.state }}'
|
||||
|
||||
- delay: '0{{ (range(4, 8)|random|int) }}:{{ range(0,5) | random | int }}{{ range(0,9) | random | int }}:{{ range(0,5) | random | int }}{{ range(0,9) | random | int }}'
|
||||
- service: script.tweet_engine_image
|
||||
|
@@ -50,9 +50,3 @@ automation:
|
||||
value1: 'Hard Drive Monitor:'
|
||||
value2: "Your harddrive is running out of Space! /dev/root:{{ states.sensor.disk_use_percent.state }}%!"
|
||||
who: 'carlo'
|
||||
|
||||
- service: persistent_notification.create
|
||||
data:
|
||||
title: "Hard Drive Monitor:"
|
||||
message: "Your harddrive is running out of Space! /dev/root:{{ states.sensor.disk_use_percent.state }}%!"
|
||||
notification_id: "Critical Alert"
|
||||
|
Reference in New Issue
Block a user