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!
Other inclusions like mqtt work fine.
Any idea is highly appreciated
I’m not new in HA but seems not long enough…
1 post - 1 participant