Hi,
I have made the following sensor in configuration.yaml along with other sensors (that are working).
- platform: history_stats
name: Heating On Duration
entity_id: binary_sensor.custom_wiser_heating
state: "on"
type: time
start: "{{ now().replace(hour=0, minute=0, second=0) }}"
end: "{{ now() }}"
The custom binary senor is setup as follows and works.
{{ is_state("sensor.wiser_heating", "On") or is_state("sensor.wiser_heating_2", "On") }}
But I cant see the Heating On Duration sensor anywhere. I have looked under entities and tried finding its state under developer options but nothing coming up. Is there something Ive done wrong?