Error setup.py:416 while first try to setup #259
Replies: 3 comments 4 replies
-
This is really a question on how to use the HA configuration.yaml properly. What you have done is put the o365: in twice, once in configuration.yaml and once in O365.yaml. Just remove the one from O365.yaml, and move everything to the left to space. |
Beta Was this translation helpful? Give feedback.
-
Was just the spaces THX But I switched to MS365 Calender (got also a 500error like in an other issue) |
Beta Was this translation helpful? Give feedback.
-
What I don't understand. why there is the o365 Integration and the MS365 Calender and Email and ToDo? |
Beta Was this translation helpful? Give feedback.
-
Hi,
I tried to setup my ExOnline Mailbox.
I used HACS for installation and created a folder o365/ where I put the O365.yaml with the example config
and in the configuration.yaml I added:
o365: !include_dir_merge_list o365/
developer console doesn't give an error. But on HA restart I get this log output
`Logger: homeassistant.setup
Source: setup.py:416
First occurred: 11:11:41 AM (1 occurrences)
Last logged: 11:11:41 AM
Error during setup of component o365
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 416, in _async_setup_component
result = await task
^^^^^^^^^^
File "/config/custom_components/o365/init.py", line 48, in async_setup
accounts = MULTI_ACCOUNT_SCHEMA(conf)[CONF_ACCOUNTS]
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
KeyError: 'accounts'`
Beta Was this translation helpful? Give feedback.
All reactions