Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 105875

Template sensor does not show up as an entity

$
0
0

For good 5 hours can’t have this working:

in configuration/yaml I have few inclusions

sensor: !include_dir_merge_list sensors/
rest: !include_dir_merge_list REST/

template: 
  sensor: !include sensor_template.yaml
  binary_sensor: !include binary_sensor_template.yaml

mqtt:
  sensor: !include sensor_mqtt.yaml
  binary_sensor: !include binary_sensor_mqtt.yaml

So, template sensors seems to be properly included through the file sensor_template.yaml

in sensor_template.yaml i have test sensor:

- name: test1
  state: "{{ states('sensor.fridge_power') | float }}"

But for a reason unknown to me, this sensor does not appear as an entity at all!
image

Other inclusions like mqtt work fine.

Any idea is highly appreciated :slight_smile:

I’m not new in HA but seems not long enough…

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 105875

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>