Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: 'notify' #69

Closed
megapearl opened this issue Apr 14, 2022 · 1 comment
Closed

KeyError: 'notify' #69

megapearl opened this issue Apr 14, 2022 · 1 comment

Comments

@megapearl
Copy link

Describe the bug
Upon startup of home assistant an error is generated in the logs.

To Reproduce
Install latest beta version of esxi_stats and reboot homeassistant.

Expected behavior
No errors

Screenshots

ESXi environment (please complete the following information):
vCenter as vm on ESXi 6.7

Additional context

Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/config_entries.py", line 335, in async_setup
result = await component.async_setup_entry(hass, self)
File "/home/homeassistant/.homeassistant/custom_components/esxi_stats/init.py", line 139, in async_setup_entry
async_add_services(hass, config_entry)
File "/home/homeassistant/.homeassistant/custom_components/esxi_stats/init.py", line 298, in async_add_services
notify = config_entry.options["notify"]
KeyError: 'notify'

@wxt9861
Copy link
Owner

wxt9861 commented Mar 2, 2023

This is addressed in 0.7.0.beta7

@wxt9861 wxt9861 closed this as completed Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants