Hi,
made this config, it fails to restart?
in my binary_sensors.yaml
template:
- binary_sensor:
- name: tapwater
value_template: >
{{states('binary_sensor.boiler_tapwater_active')}}
icon: >
{% if is_state("binary_sensor.boiler_tapwater_active", "off") %}
mdi:water-pump-off
{% else %}
mdi:water-pump
{% endif %}
The system cannot restart because the configuration is not valid: Invalid config for [binary_sensor]: required key not provided @ data['platform']. Got None. (See /config/configuration.yaml, line 132).
The system cannot restart because the configuration is not valid: Invalid config for [binary_sensor.template]: [binary_sensor] is an invalid option for [binary_sensor.template]. Check: binary_sensor.template->binary_sensor. (See ?, line ?).
The system cannot restart because the configuration is not valid: Invalid config for [sensor.template]: [binary_sensor] is an invalid option for [sensor.template]. Check: sensor.template->binary_sensor. (See ?, line ?).
The system cannot restart because the configuration is not valid: Invalid config for [binary_sensor]: required key not provided @ data['platform']. Got None. (See /config/configuration.yaml, line 131).
in my configuration.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
binary_sensor: !include binary_sensors.yaml
sensor: !include sensors.yaml