Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 105530

Проблема с файлом configuration.yaml в HomeAssistant

$
0
0

I installed HomeAssistant supervisor on a virtual machine in Hyper-V, downloaded the mosquitto broker add-on in add-on, added MQTT integration, and allowed auto-addition of devices. In the configuration.I am writing the following yaml code:

mqtt:
  broker: core-mosquitto
  port: 1883
  discovery: true

When restarting, the home assistant displays the following message:
Couldn’t reset the configuration
Validation error: Invalid config for integration mqtt at /config/configuration.yaml, line 12: extra keys not allowed @ data[‘mqtt’][0][‘broker’]

I also checked this way:

mqtt:
  server: mqtt://core-mosquitto:1883

But it didn’t work out either: Validation error: Invalid config for integration mqtt at /config/configuration.yaml, line 12: extra keys not allowed @ data[‘mqtt’][0][‘server’]

I’m just starting to learn IoT and it’s not very clear what’s wrong yet.

3 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 105530

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>