Revert change using cloud cover for lighting decisions
This proved even more unreliable than the original solution.
This commit is contained in:
Submodule node-red/projects/NerdFlows updated: 86b4feb43e...d7ecf887c0
@ -586,7 +586,13 @@ script:
|
||||
- switch.master_bedroom_echo_dot_do_not_disturb_switch
|
||||
- if:
|
||||
- condition: template
|
||||
value_template: "{{ states('sensor.pirateweather_cloud_coverage') | int > 50 }}"
|
||||
value_template: >
|
||||
{% set weather = states('weather.iron_nerd_weather_station') %}
|
||||
{% if weather in ['cloudy','partlycloudy','rainy','snowy','hail','lightning','lightning-rainy','pouring','snowy-rainy'] %}
|
||||
true
|
||||
{% else %}
|
||||
false
|
||||
{% endif %}
|
||||
then:
|
||||
- service: light.turn_on
|
||||
target:
|
||||
|
Reference in New Issue
Block a user