I am trying to add sensors in config.yaml, unfortunastwly it does not work.
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Text to speech
tts:
platform: google_translate
sensor: !include sensor.yaml
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
I get the following error:
Integration error: platform - Integration 'platform' not found.
Invalid config for [sensor]: required key not provided @ data['platform']. Got 'google_translate'. (See /config/configuration.yaml, line 8).
what am I doing wrong (probably some very basic mistake)