Quantcast
Channel: ESPHome - Home Assistant Community
Viewing all articles
Browse latest Browse all 1486

Please help me understand syntax of EspHome yaml file

$
0
0

I know I am going to get a hard time for asking this but here we go:

Would you please help me understand the difference between the ’ - <<: !include’ and ’ - !include’ in the code below? I couldn’t find documentation that explain the difference.

Thanks in advance.

sensor:
  - <<: !include common/sensor/uptime.config.yaml
  - <<: !include common/sensor/wifi_signal.config.yaml
binary_sensor:
  - <<: !include common/binary_sensor/connection_status.config.yaml

switch:
  - !include common/switch/restart_switch.config.yaml

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 1486

Trending Articles



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