Merge pull request #561 from deejaybeam/dev

fix: ignore unassigned indoor sensor
This commit is contained in:
Chris
2023-03-29 11:01:50 +02:00
committed by GitHub

View File

@@ -4311,7 +4311,7 @@ action:
- service: "{{ command_text_printf }}"
data:
component: home.current_temp
message: "{{ states(indoortemp) | round(1) if is_number(states(indoortemp)) else states(nspaneltemp) | round(1) }}{{ weather.units.temperature }}"
message: "{{ states(indoortemp) | round(1) if indoortemp is match 'sensor.' and states(indoortemp) in ['unavailable', 'unknown', 'none'] else states(nspaneltemp) | round(1) }}{{ weather.units.temperature }}"
##### Weather Icon Home Page #####
- delay: