Remove remaining cloud cover checks
This commit is contained in:
Submodule node-red/projects/NerdFlows updated: 4af890a154...0200748ef2
@ -1398,8 +1398,6 @@ script:
|
|||||||
{% set weather = states('weather.iron_nerd_weather_station') %}
|
{% set weather = states('weather.iron_nerd_weather_station') %}
|
||||||
{% if weather in ['cloudy','partlycloudy','rainy','snowy','hail','lightning','lightning-rainy','pouring','snowy-rainy'] %}
|
{% if weather in ['cloudy','partlycloudy','rainy','snowy','hail','lightning','lightning-rainy','pouring','snowy-rainy'] %}
|
||||||
true
|
true
|
||||||
{% elif (states('sensor.pirateweather_cloud_coverage') | int) > 50 %}
|
|
||||||
true
|
|
||||||
{% else %}
|
{% else %}
|
||||||
false
|
false
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -84,8 +84,6 @@ script:
|
|||||||
{% set weather = states('weather.iron_nerd_weather_station') %}
|
{% set weather = states('weather.iron_nerd_weather_station') %}
|
||||||
{% if weather in ['cloudy','partlycloudy','rainy','snowy','hail','lightning','lightning-rainy','pouring','snowy-rainy'] %}
|
{% if weather in ['cloudy','partlycloudy','rainy','snowy','hail','lightning','lightning-rainy','pouring','snowy-rainy'] %}
|
||||||
true
|
true
|
||||||
{% elif (states('sensor.pirateweather_cloud_coverage') | int) > 50 %}
|
|
||||||
true
|
|
||||||
{% else %}
|
{% else %}
|
||||||
false
|
false
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Reference in New Issue
Block a user