Merge pull request #561 from deejaybeam/dev
fix: ignore unassigned indoor sensor
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user