1
0
Fork 0

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
Dustin 2024-08-27 09:46:56 -05:00
parent b60ed65c80
commit ab107022f4
1 changed files with 0 additions and 9 deletions

View File

@ -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