Help setting up a battery automation

i am brand new to home assistant as well as not being too knowledgeable in coding so i was hoping if i could get some help all i want is a standard automation that whenever the battery sensor (currently pixel 7 as a placeholder) goes below a specific % it will send a notification to target alexa devices and it will repeat the notification every lets say 10 minutes until it is above 90%

all i have so far is this

alias: doorbell battery

description: “”

trigger:

  • platform: state

entity_id:

  • sensor.pixel_7_battery_level

to: <30

condition:

action:

  • service: notify.alexa_media

data:

target: media_player.craig_s_echo_show, media_player.craig_s_dot_bedside

data:

tts: null

message: battery low

mode: single


like i said im very new to coding so i dont have much and have made what is here in the visual editor

any help is appreciated!!

Please see #11 here:
How to help us help you - or How to ask a good question - Configuration - Home Assistant Community (home-assistant.io)