Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Failed to restart Home Assistant
#1
The system cannot restart because the configuration is not valid: Invalid config for [mqtt]: [name:] is an invalid option for [mqtt]. Check: mqtt->mqtt->switch->2->name:. (See /config/configuration.yaml, line 17).




Quote:Loads default set of integrations. Do not remove.
default_config:
Load frontend themes from the themes folder
frontend:
themes: !include_dir_merge_named themes
Text to speech
tts:
• platform: google_translate
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
mqtt:
broker: 192.168.100.172
port: 1883
username: XXXX
password: XXX
Example configuration.yaml entry
switch:
• name: ‘output-1’
unique_id: output-1
state_topic: ‘server/c5a1fc1837679772e927e9de/state’
command_topic: ‘server/c5a1fc1837679772e927e9de/set’
payload_on: ‘{“relay1”:{“on”:1}}’
payload_off: ‘{“relay1”:{“on”:0}}’
value_template: ‘{{ value_json.relay1.on }}’
state_on: 1
state_off: 0
• name: ‘output-2’
unique_id: output-2
state_topic: ‘server/c5a1fc1837679772e927e9de/state’
command_topic: ‘server/c5a1fc1837679772e927e9de/set’
payload_on: ‘{“relay2”:{“on”:1}}’
payload_off: ‘{“relay2”:{“on”:0}}’
value_template: ‘{{ value_json.relay2.on }}’
state_on: 1
state_off: 0
Reply
#2
There is something wrong with your symbol format.
"•" this is not correctly.
Reply
#3
can you check attach to find error 

thank you


Attached Files
.txt   mqtt.txt (Size: 8 KB / Downloads: 229)
Reply
#4
already replied in your another thread. please update one topic in forum.
Reply
#5
(12-17-2022, 03:19 AM)admin Wrote: already replied in your another thread. please update one topic in forum.

you can see this topic:
https://www.kincony.com/forum/showthread.php?tid=1998
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)