Skip to content
This repository was archived by the owner on Jul 7, 2024. It is now read-only.
This repository was archived by the owner on Jul 7, 2024. It is now read-only.

Error during HA startup #24

Description

@lyricnz
2023-05-07 11:22:26.131 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up tplink_ess platform for sensor
Traceback (most recent call last):
  File "/Users/simonroberts/src/github/home-assistant/core/homeassistant/helpers/entity_platform.py", line 304, in _async_setup_platform
    await asyncio.shield(task)
  File "/Users/simonroberts/src/github/home-assistant/core/config/custom_components/tplink_ess/sensor.py", line 63, in async_setup_entry
    name = coordinator.data.get("stats")["stats"][i]["Port"]
TypeError: 'NoneType' object is not subscriptable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions