From ab107022f46e59746ddf93de517a22faa5a9b6d9 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Tue, 27 Aug 2024 09:46:56 -0500 Subject: [PATCH] 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. --- home-assistant/configuration.yaml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/home-assistant/configuration.yaml b/home-assistant/configuration.yaml index 5c36d89..235f0f9 100644 --- a/home-assistant/configuration.yaml +++ b/home-assistant/configuration.yaml @@ -104,15 +104,6 @@ sensor: template: - 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 device_class: power unit_of_measurement: W