For about a month now, I get errors in my config files complaining that the YAML schema has issues, but when I go to the documentation the code is correct. Here are a few examples:
Templates.yaml
- platform: template
sensors:
#----- Count Automations
count_automations:
entity_id: sensor.date
value_template: "{{ states.automation | list | length }}"
error
Property entity_id is not allowed.yaml-schema: http://schemas.home-assistant.io/integration-sensor
Scripts.yaml
back_porch_camera_snap_picture:
alias: Back Porch Camera Snap Picture
sequence:
- data: {}
action: blink.trigger_camera
target:
device_id: 9bf0c4d1570da773edddb4b9112beac8
- data:
filename: /config/tmp/images/back_porch/{{ now().strftime('%Y%m%d_%H%M%S') }}.jpg
target:
entity_id: camera.blink_back_porch
action: camera.snapshot
mode: single
icon: mdi:camera
error
Property action is not allowed.yaml-schema: http://schemas.home-assistant.io/integration-script
Sensors.yaml
- platform: template
sensors:
#----- Count Automations
count_automations:
entity_id: sensor.date
value_template: "{{ states.automation | list | length }}"
error
Property entity_id is not allowed.yaml-schema: http://schemas.home-assistant.io/integration-sensor