Hi everyone,
I’m trying to write an automation to (currently) notify me when my numeric states of 2 entities fit the ranges given. But I cannot seem to get it to fire the notification, unless this is manually with the run action function.
the YAML is :-
alias: 'Solar > Car '
description: Divert solar generation to EV
trigger:
- platform: numeric_state
entity_id: sensor.solar_panels_ac_output_total_power
for:
hours: 0
minutes: 0
seconds: 0
below: '5000'
above: '100'
condition:
- condition: numeric_state
entity_id: sensor.glow84cca85453c0_power_consumption
below: '0'
action:
- service: notify.notify
data:
message: Car Charge on
title: Car Charge
mode: single
Current values are:-
sensor.solar_panels_ac_output_total_power = 459.12
sensor.glow84cca85453c0_power_consumption = 136