Hi,
I’m fairly new to HomeAssistant and have been muddling my way through moving some automation to HomeAssistant. I’ve been a little stumped on how to send iOS alerts to my phone and how to include a variable in my alert notification. I have 4 automations set up that trigger based on real time electricity pricing. They all seem to trigger and work properly, yet only 1 send an iOS notification (Turn on Mini Fridge automation). Also, I’d like it to output the current price when it does so, but currently it just spits out this:
Comed price is {state.sensor.comed_5_minute_price}
Mini Fridged turned back on.
Any help or points in the right direction are appreciated.
- id: '1611002510461'
alias: Turn off Mini Fridge
description: ''
trigger:
- platform: numeric_state
entity_id: sensor.comed_5_minute_price
above: '4'
condition: []
action:
- domain: switch
entity_id: switch.mini_refrigerator
device_id: b66547973fab91f046e4f45a7eb9d479
type: turn_off
- device_id: 3f8d5522b14ec128970965ee77b37493
domain: mobile_app
type: notify
message: Mini Fridge turned off
title: Comed Hourly Price is {{sensor.comed_5_minute_price}}
mode: single
- id: '1611018874449'
alias: Turn on Mini Fridge
description: ''
trigger:
- platform: numeric_state
entity_id: sensor.comed_5_minute_price
below: '4.0'
condition: []
action:
- domain: switch
entity_id: switch.mini_refrigerator
device_id: b66547973fab91f046e4f45a7eb9d479
type: turn_on
- device_id: 3f8d5522b14ec128970965ee77b37493
domain: mobile_app
type: notify
message: Mini Fridge turned back on
title: Comed price is {state.sensor.comed_5_minute_price}
mode: single`