I have set an automation for my awnings but it does not work this is the setup :
entity_id: sensor.dark_sky_icon
from: rain
platform: state
to: clear
any ideas why it does not working ? if i delete from and set it as condition as rain will it work ?