KeyError: 'notify'
megapearl opened this issue · 1 comments
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'
This is addressed in 0.7.0.beta7