Hi guys
Im trying to automate that my google says that the my car has been charged. but I constantly receive errors…
only announce this between 8am and 9am so i dont wake up the kids, only if the sensor has been over 1750 for 4 hours in a row and delay the announcement with 1 minute
if possible it would be better if there could be a condition that the sensor has been charging over 2000 for over 4 h and now dropped below 10. couse the sensor will always be 2000+ kWh when charging and will drop to 1-2 kWh when idling…
- alias: Charging complete
trigger:
- platform: numeric_state
entity_id: sensor.power
above: 2000
condition:
condition: time
after: '08:00:00'
before: '21:00:00'
condition: state
state: on
for:
hours: 4
action:
- service: tts.google_translate_say
entity_id: media_player.google_home
data:
language: 'se'
message: 'Your car is now charged'
delay:
minutes: 1