These two !include
statements look identical, and both .yaml
files are precent at its referred location.
sensor:
- <<: !include sensor/uptime.config.yaml
switch:
- <<: !include switch/restart_switch.config.yaml
In my config.yaml I refere to packages like this
packages:
device_base: !include common/device_base_mhetesp32minikit_Quinled_dig_uno.yaml
And within device_base_mhetesp32minikit_Quinled_dig_uno.yaml
I have included two yaml (se above).
For some reason the switch
does not show up after flashing the ESP. The WiFi signal sesor do show up, though.
The switch does show when defined directly in config.yaml
WiFi signal sensor as defined in sensor/uptime.config.yaml
- platform: wifi_signal
name: ${friendly_name} WiFi signal
update_interval: 300s
Restart switch, as defined in switch/restart_switch.config.yaml
- platform: restart
name: ${friendly_name} restart
id: restart_switch