Hi - just wondered if anyone had an automation for warning me when my iphone needs charging.
I tried the below but the trigger isn;t working:
alias: Reminder to charge Rob’s iphone
description: ''
trigger:
- platform: numeric_state
entity_id: sensor.iphone_battery_level
below: '15'
condition: []
action:
- service: tts.cloud_say
data:
entity_id: media_player.hallway
message: >-
Rob - don’t forget to charge your phone. The battery is getting a
little low.
- service: notify.mobile_app_iphone
data:
message: Your phone battery needs charging
title: Battery warning - phone
data:
message: please charge this phone
mode: single