Ihek
(Ihek)
April 8, 2024, 4:43pm
1
Please help med reconnecting my homeassistant.
I think by mistake i did remove som lines from configuration Yaml.
When I try to reconnect to my servere. I get error message.:
This is my yaml configuration:
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
Example configuration.yaml entry
media_extractor:
Example configuration.yaml entry
Example configuration.yaml entry
config:
Sensors
sensor:
platform: time_date
display_options:
‘time’
‘date’
‘time_date’
platform: google_wifi
Example configuration.yaml entry
camera:
platform: familyhub
ip_address: “192.168.86.36”
I get this from the log file:
Home Assistant Core
2024-04-08 07:05:14.842 ERROR (SyncWorker_0) [homeassistant.util.yaml.loader] expected ‘’, but found ‘’
in “/config/configuration.yaml”, line 6, column 1
2024-04-08 07:05:14.845 ERROR (MainThread) [homeassistant.bootstrap] Failed to parse configuration.yaml: expected ‘’, but found ‘’
in “configuration.yaml”, line 6, column 1. Activating recovery mode
2024-04-08 18:27:47.686 WARNING (MainThread) [homeassistant.components.websocket_api.http.connection] [547182274240] from 192.168.86.77 (Home Assistant/2024.3 (io.robbie.HomeAssistant; build:2024.608; iOS 16.7.7)): Disconnected: Did not receive auth message within 10 seconds
Please Help me to recover and connect to my home assistant
I really appreciate your help
francisp
(Francis)
April 8, 2024, 4:46pm
2
if you want urgent help, please take the time to format your code
Spaces at the beginning of the line are critical in yaml, and people trying to help you may want to copy your code so that they can try it out themselves, so please format it correctly when you are posting.
Use the preformatted text tool (</> in the edit post toolbar). If it is not immediately visible, it will be in the cogwheel menu.
[Code_format]
Alternatively you can use three backticks (the key is on the far left, 2nd row on en keyboards) on their own line above and below the code. That i…
By the time I figure out the mess you wrote, I could have helped you already long time.
Ihek:
default_config
Should be
default_config:
Ihek
(Ihek)
April 8, 2024, 4:53pm
3
I appreciate your comment . I am afraid that i can not manage this . If screen shot can not help. I will do my best to manage it .
francisp
(Francis)
April 8, 2024, 4:55pm
4
Your screenshot still lacks the : after default_config
default_config:
1 Like
Ihek
(Ihek)
April 8, 2024, 4:59pm
5
# 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
# Example configuration.yaml entry
media_extractor:
# Example configuration.yaml entry
# Example configuration.yaml entry
config:
# Sensors
sensor:
- platform: time_date
display_options:
- 'time'
- 'date'
- 'time_date'
- platform: google_wifi
# Example configuration.yaml entry
camera:
- platform: familyhub
ip_address: "192.168.86.36"
Ihek
(Ihek)
April 8, 2024, 5:02pm
7
# 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
# Example configuration.yaml entry
media_extractor:
# Example configuration.yaml entry
# Example configuration.yaml entry
config:
# Sensors
sensor:
- platform: time_date
display_options:
- 'time'
- 'date'
- 'time_date'
- platform: google_wifi
# Example configuration.yaml entry
camera:
- platform: familyhub
ip_address: "192.168.86.36"`
1 Like
francisp
(Francis)
April 8, 2024, 5:04pm
8
That should fix your problem
1 Like
Ihek
(Ihek)
April 8, 2024, 5:08pm
9
I am trying to restart. waiting to see
Is there is any problem with line 6 column 1 as mentioned in the log file ?
Ihek
(Ihek)
April 8, 2024, 5:15pm
10
Ihek
(Ihek)
April 8, 2024, 5:18pm
11
THANK YOU. You helped alot. you saved my day
1 Like