home-assistant: Remove Tonight's Forecast sensor
This template sensor will be migrated to a helper, since Home Assitant removed the `forecast` attribute of weather sensors and now requires calling an action (service) to get those data.pull/11/head
parent
b60ed65c80
commit
ab107022f4
|
@ -104,15 +104,6 @@ sensor:
|
||||||
|
|
||||||
template:
|
template:
|
||||||
- sensor:
|
- sensor:
|
||||||
- name: "Tonight's Forecast"
|
|
||||||
device_class: temperature
|
|
||||||
unit_of_measurement: °C
|
|
||||||
state: >-
|
|
||||||
{{ state_attr('weather.kojc_daynight', 'forecast')
|
|
||||||
| rejectattr('is_daytime')
|
|
||||||
| map(attribute='temperature')
|
|
||||||
| first }}
|
|
||||||
|
|
||||||
- name: Apc1500 Load
|
- name: Apc1500 Load
|
||||||
device_class: power
|
device_class: power
|
||||||
unit_of_measurement: W
|
unit_of_measurement: W
|
||||||
|
|
Loading…
Reference in New Issue