custom-components / healthchecksio

Update and display the status of your healthchecks.io checks.
MIT License
52 stars 9 forks source link

Error while setting #16

Closed eyalcha closed 3 years ago

eyalcha commented 3 years ago
2021-01-28 15:15:31 ERROR (MainThread) [homeassistant.components.binary_sensor] Error while setting up healthchecksio platform for binary_sensor

Traceback (most recent call last):

  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 199, in _async_setup_platform

    await asyncio.shield(task)

  File "/config/custom_components/healthchecksio/binary_sensor.py", line 17, in async_setup_entry

    for check in hass.data[DOMAIN_DATA]["data"].get("checks", []):

KeyError: 'data'