Hey guys, I just started using HA because IFTTT started changing 1.99 to do 2 simples tasks that I use it for.
1 of them im not getting right on HA, and I need some help.
I have a led strip using fluxled. I made the script to change color and etc. It works great.
Now when I make the automation, it just does not work. The automations does not see the change on the weather state
"- id: xxxx
alias: livingroom_cloudy
description: ''
trigger:
- platform: state
entity_id: [weather.casa]
to: partlycloudy
attribute: forecast
- platform: state
entity_id: [weather.casa]
to: cloudy
condition: []
action:
- service: script.casa_nublado
data: {}
- service: notify.mobile_app_sm_n9600
data:
message: O tempo da casa mudou para nublado.
mode: single"
Is there anything wrong with this code? Or any ideas to improve it?
Thanks