This was working working till a recent HA up date. Any ideas would be appreciated. Thanks in advance. It’s showing “entity not available”
- platform: history_stats
name: propane on today
entity_id: binary_sensor.propane_heater_on_time
state: "on"
type: time
start: "{{ now().replace(hour=0).replace(minute=15).replace(second=0) }}"
end: "{{ now() }}"
- platform: trend
sensors:
indoor_temp_rising:
entity_id: sensor.propane_heater_temp
sample_duration: 3600
max_samples: 120
min_gradient: 0.0011
device_class: heat