Hi,
I am trying to add a trend sensor to show if the temperature outside is getting hotter or colder (eventually I want to use this to open of close my curtains).
Initially I tried creating this in the UI, but TBH this confused me, and since there did not seem to be anyway to view the yaml in this editor I instead tried to add it to the configuration.yaml.
Following the instructions here (https://www.home-assistant.io/integrations/trend) I copied the example at the bottom to my config file, and changed it to look at my temperature senor entity sensor.outside_front_sensor_temperature
i.e.
binary_sensor:
- platform: trend
sensors:
temp_falling:
entity_id: sensor.outside_front_sensor_temperature
unique_id: outside_temp_falling_trend
sample_duration: 7200
max_samples: 120
min_samples: 20
min_gradient: -0.0008
device_class: cold
temp_rising:
entity_id: sensor.outside_front_sensor_temperature
unique_id: outside_temp_rising_trend
sample_duration: 7200
max_samples: 120
min_samples: 20
min_gradient: 0.0008
device_class: heat
I checked the config in developer tools and reloaded the yaml, but I can’t see how to add outside_temp_falling_trend
or outside_temp_rising_trend
to a dashboard to see if they are working. And they do not appear in my entity or helper list.
I am sure I am misunderstanding something basic.
Can anyone help me out?