Actually, the problem came from my inclusion :
sensor: !include sensors.yaml
It was set in ui-lovelace.yaml
. It has to be in configuration.yaml
.
with the followingconfiguration.yaml
, it works fine :
homeassistant:
customize: !include customize.yaml
default_config:
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
switch: !include switches.yaml
light: !include lights.yaml
sensor: !include sensors.yaml
lovelace:
mode: yaml
Thank you very much for your help!