I used this with my old integration and now I have moved to Pirate Weather it does not work:
binary_sensor:
- name: bad_weather
unique_id: bad_weather
icon: mdi:weather-pouring
state: >
{{ states('weather.pirateweather') in [
'hail',
'lightning',
'lightning-rainy',
'pouring',
'rainy',
'snowy',
'snowy-rainy',
'exceptional'
] }}
- name: cloudy_weather
unique_id: cloudy_weather
icon: mdi:weather-cloudy
state: >
{{ states('weather.pirateweather') in [
'cloudy',
'partlycloudy',
'windy-variant'
] }}
- name: clear_weather
unique_id: clear_weather
icon: mdi:weather-sunny
state: >
{{ states('weather.pirateweather') in [
'clear-night',
'sunny'
] }}
- name: windy_weather
unique_id: windy_weather
icon: mdi:weather-windy
state: >
{{ states('weather.pirateweather') in [
'windy'
] }}
for example it is completely raining now and it is saying partly cloudy.
how do I get all the hourly figures ?
I wanted to remind me to bring in the laundry for example if it goes from good weather to bad weather
dev tools says
how do I get all those things on the right column?
although it’s still not saying it’s raining even though all the hourly ones say it is raining




