Open brianjking opened 7 years ago
- alias: Battery level low
trigger:
platform: state
entity_id: sensor.battery_level_warning
state: 'Low'
action:
- service: tts.google_say
entity_id: media_player.office_google_home
data:
message: 'Sensor battery low.'
- service: notify.nexus5x
data:
title: 'Sensor battery low'
message: 'Sensor battery low.'
- alias: Replace battery
trigger:
platform: state
entity_id: sensor.battery_level_warning
state: 'Replace'
action:
- service: tts.google_say
entity_id: media_player.office_google_home
data:
message: 'Replace sensor battery.'
- service: notify.nexus5x
data:
title: 'Replace sensor battery'
message: 'Replace sensor battery.'