Hi guys. Need your help.
I’m building a new HA-instance for family. Already have some experience but don’t know what I’m doing wrong . Verification of config goes without any problems (Valid!), but the files aren’t including.
Configuration.yaml
automation: !include_dir_merge_named conf/automation/ cloud: !include_dir_merge_named conf/cloud/ group: !include_dir_merge_named conf/group/ script: !include_dir_merge_named conf/script/ switch: !include_dir_merge_named conf/switch/ recorder: !include conf/recorder/recorder.yaml sensor: !include_dir_merge_named conf/sensor/
Files in: conf/sensor/ : sys.yaml and battery.yaml
Battery.yaml
- platform: template sensors: neo_woonkamer_pirsensor_battery: friendly_name: "Woonkamer PIR batterij" unit_of_measurement: '%' value_template: '{% if states.zwave.neo_woonkamer_pirsensor %} {{ states.zwave.neo_woonkamer_pirsensor.attributes.battery_level }} {% else %} Unkown {% endif %}' neo_voordeur_deursensor_battery: friendly_name: "Voordeurdeursensor batterij" unit_of_measurement: '%' value_template: '{% if states.zwave.neo_voordeur_deursensor %} {{ states.zwave.neo_voordeur_deursensor.attributes.battery_level }} {% else %} Unkown {% endif %}' neo_skgm_raamsensor_battery: friendly_name: "Slaapkamer GM raamsensor batterij" unit_of_measurement: '%' value_template: '{% if states.zwave.neo_skgm_raamsensor %} {{ states.zwave.neo_skgm_raamsensor.attributes.battery_level }} {% else %} Unkown {% endif %}' neo_schuur_deursensor_battery: friendly_name: "Schuurdeursensor batterij" unit_of_measurement: '%' value_template: '{% if states.zwave.neo_schuur_deursensor %} {{ states.zwave.neo_schuur_deursensor.battery_level }} {% else %} Unkown {% endif %}' neo_keuken_pirsensor_battery: friendly_name: "Keuken PIR batterij" unit_of_measurement: '%' value_template: '{% if states.zwave.neo_keuken_pirsensor %} {{ states.zwave.neo_keuken_pirsensor.battery_level }} {% else %} Unkown {% endif %}' neo_keuken_deursensor_battery: friendly_name: "Keukendeursensor batterij" unit_of_measurement: '%' value_template: '{% if states.zwave.neo_keuken_deursensor %} {{ states.zwave.neo_keuken_deursensor.battery_level }} {% else %} Unkown {% endif %}' neo_hal_siren_alarm_battery: friendly_name: "Alarmsirene batterij" unit_of_measurement: '%' value_template: '{% if states.zwave.neo_hal_siren_alarm %} {{ states.zwave.neo_hal_siren_alarm.battery_level }} {% else %} Unkown {% endif %}' neo_hal_pirsensor_battery: friendly_name: "Hal PIR batterij" unit_of_measurement: '%' value_template: '{% if states.zwave.neo_hal_pirsensor %} {{ states.zwave.neo_hal_pirsensor.battery_level }} {% else %} Unkown {% endif %}' neo_garage_deursensor_battery: friendly_name: "Garagedeursensor batterij" unit_of_measurement: '%' value_template: '{% if states.zwave.neo_garage_deursensor %} {{ states.zwave.neo_garage_deursensor.battery_level }} {% else %} Unkown {% endif %}'
Sys.yaml
- platform: yr - platform: dsmr port: /dev/ttyUSB0 dsmr_version: 5
What am I doing wrong?
Same problem with automation. There’s one file in the directory called ‘sys_backup.yaml’:
- id: bck_aanmakenbackup
alias: BCK - Aanmaken back-up
trigger:
- at: 05:00
platform: time
condition:
action:- service: hassio.snapshot_full
data_template:
name: Automated Backup {{ now().strftime(‘%Y-%m-%d’) }}- id: bck_uploadbackup
alias: BCK - Upload naar Dropbox
trigger:
- at: 06:00
platform: time
condition:
action:- data:
addon: 7be23ff5_dropbox_sync
input:
command: upload
service: hassio.addon_stdin