We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have this template:
- platform: average name: "Average Outside Temperature 3_2" unique_id: averageoutsidetemperature3 entities: - sensor.outdoor_temperature_ecowitt - sensor.outside_temperature
Both contributing sensors give results but sensor.average_outside_temperature_3_2 is "unavailable".
This happens at least once a week.
...
example: sensor.average_outside_temperature_3_2" 2024-10-28 07:25:32.384 DEBUG (MainThread) [custom_components.average.sensor] Updating sensor "Inside Average" 2024-10-28 07:25:32.384 DEBUG (MainThread) [custom_components.average.sensor] Process start template: Template<template=({{ now().replace(hour=0, minute=0, second=0) }}) renders=4450> 2024-10-28 07:25:32.384 DEBUG (MainThread) [custom_components.average.sensor] Process duration: 1 day, 0:00:00 2024-10-28 07:25:32.384 DEBUG (MainThread) [custom_components.average.sensor] Calculation period: start=2024-10-28 00:00:00.384575-04:00, end=2024-10-29 00:00:00.384575-04:00 2024-10-28 07:25:32.384 DEBUG (MainThread) [custom_components.average.sensor] Processing entity "sensor.ecobee_temperature" 2024-10-28 07:25:32.390 DEBUG (MainThread) [custom_components.average.sensor] Initial historical state: <state sensor.average_outside_temperature_3_2=unavailable; state_class=measurement, friendly_name=Average Outside Temperature 3_2 @ 2024-10-28T00:00:00.383885-04:00> 2024-10-28 07:25:32.391 DEBUG (MainThread) [custom_components.average.sensor] Historical state: <state sensor.average_outside_temperature_3_2=unavailable; state_class=measurement, friendly_name=Average Outside Temperature 3_2 @ 2024-10-28T00:00:00.383885-04:00> 2024-10-28 07:25:32.391 DEBUG (MainThread) [custom_components.average.sensor] Historical average state: None 2024-10-28 07:25:32.391 DEBUG (MainThread) [custom_components.average.sensor] Processing entity "sensor.outside_temperature" 2024-10-28 07:25:32.396 DEBUG (MainThread) [custom_components.average.sensor] Initial historical state: <state sensor.ecobee_temperature=63.9; state_class=measurement, unit_of_measurement=°F, device_class=temperature, friendly_name=Thermostat Temperature @ 2024-10-28T00:00:00.384575-04:00> 2024-10-28 07:25:32.396 DEBUG (MainThread) [custom_components.average.sensor] Historical state: <state sensor.ecobee_temperature=63.9; state_class=measurement, unit_of_measurement=°F, device_class=temperature, friendly_name=Thermostat Temperature @ 2024-10-28T00:00:00.384575-04:00> 2024-10-28 07:25:32.396 DEBUG (MainThread) [custom_components.average.sensor] Historical state: <state sensor.ecobee_temperature=64.0; state_class=measurement, unit_of_measurement=°F, device_class=temperature, friendly_name=Thermostat Temperature @ 2024-10-28T00:01:01.284874-04:00> 2024-10-28 07:25:32.396 DEBUG (MainThread) [custom_components.average.sensor] Historical state: <state sensor.ecobee_temperature=63.8; state_class=measurement, unit_of_measurement=°F, device_class=temperature, friendly_name=Thermostat Temperature @ 2024-10-28T00:04:01.289114-04:00> 2024-10-28 07:25:32.397 DEBUG (MainThread) [custom_components.average.sensor] Historical state: <state sensor.ecobee_temperature=63.9; state_class=measurement, unit_of_measurement=°F, device_class=temperature, friendly_name=Thermostat Temperature @ 2024-10-28T00:07:01.292441-04:00> 2024-10-28 07:25:32.397 DEBUG (MainThread) [custom_components.average.sensor] Historical state: <state sensor.ecobee_temperature=63.8; state_class=measurement, unit_of_measurement=°F, device_class=temperature, friendly_name=Thermostat Temperature @ 2024-10-28T00:13:01.300071-04:00> 2024-10-28 07:25:32.397 DEBUG (MainThread) [custom_components.average.sensor] Historical state: <state sensor.ecobee_temperature=63.7; state_class=measurement, unit_of_measurement=°F, device_class=temperature, friendly_name=Thermostat Temperature @ 2024-10-28T00:16:01.304824-04:00> 2024-10
config_entry-hacs-9a1c5c4a16fdc75d725df231076e806a.json
The text was updated successfully, but these errors were encountered:
No branches or pull requests
System Health details
System Information
Home Assistant Community Store
AccuWeather
Home Assistant Cloud
Home Assistant Supervisor
Dashboards
Recorder
Sonoff
Checklist
Describe the issue
I have this template:
- platform: average name: "Average Outside Temperature 3_2" unique_id: averageoutsidetemperature3 entities: - sensor.outdoor_temperature_ecowitt - sensor.outside_temperature
Both contributing sensors give results but sensor.average_outside_temperature_3_2 is "unavailable".
This happens at least once a week.
Reproduction steps
...
Debug logs
Diagnostics dump
config_entry-hacs-9a1c5c4a16fdc75d725df231076e806a.json
The text was updated successfully, but these errors were encountered: