Dear All,
Today is the first day since i installed home assistant. Bose sound touch is added but when i am trying to configure the presets i get error during configuration validation. "Invalid config for [media_player]: required key not provided @ data[‘platform’]. Got None. (See /config/configuration.yaml, line 18). "
Below is my config file
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
# base_url: example.duckdns.org:8123
# Text to speech
tts:
- platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
media_player: (This is line 18 which it complaints about)
- platform: braviatv
host: 192.168.178.20
name: Living room TV
- platform: soundtouch
host: 192.168.178.24
port: 8090
name: Bose Ice Bedroom
- service: media_player.play_media
data:
entity_id: media_player.Bose_Ice_Bedroom
media_content_id: 1..6
media_content_type: PLAYLIST
Can some one please suggest where am i going wrong? Secondly i have configured 6 presets on sound touch which points to internet radio mainly.
Thanks,
Mo