Skip to content

Plum Lightpad component fails to initialize lights. #20309

Description

@rjroch

Home Assistant release with the issue:

0.85.1

Last working Home Assistant release (if known):
0.85.0

Operating environment (Hass.io/Docker/Windows/etc.):

Raspberry pi manual install

Component/platform:

plum_lightpad

Description of problem:
Lightpads fail to initialize and are not available. Light rings show up in GUI but can not be configured.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

plum_lightpad:
  username: !secret email_address
  password: !secret plum_password

Traceback (if applicable):

Jan 21 16:22:07 hass hass[4334]: 2019-01-21 16:22:07 INFO (MainThread) [homeassistant.loader] Loaded light.plum_lightpad from homeassistant.components.light.plum_lightpad
Jan 21 16:22:07 hass hass[4334]: 2019-01-21 16:22:07 INFO (MainThread) [homeassistant.components.light] Setting up light.plum_lightpad
Jan 21 16:22:07 hass hass[4334]: 2019-01-21 16:22:07 INFO (MainThread) [homeassistant.components.light] Setting up light.plum_lightpad
Jan 21 16:22:07 hass hass[4334]: 2019-01-21 16:22:07 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Jan 21 16:22:07 hass hass[4334]: Traceback (most recent call last):
istant.core] Error doing job: Task exception was never retrieved
Jan 21 16:22:07 hass hass[4334]: Traceback (most recent call last):
Jan 21 16:22:07 hass hass[4334]:   File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
Jan 21 16:22:07 hass hass[4334]:     result = coro.send(None)
Jan 21 16:22:07 hass hass[4334]:   File "/srv/homeassistant/homeassistant_venv_3.5.3/lib/python3.5/site-packages/homeassistant/helpers/entity_platform.py", line 352, in _async_add_entity
Jan 21 16:22:07 hass hass[4334]:     await entity.async_update_ha_state()
Jan 21 16:22:07 hass hass[4334]:   File "/srv/homeassistant/homeassistant_venv_3.5.3/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 239, in async_update_ha_state
Jan 21 16:22:07 hass hass[4334]:     attr = self.state_attributes or {}
Jan 21 16:22:07 hass hass[4334]:   File "/srv/homeassistant/homeassistant_venv_3.5.3/lib/python3.5/site-packages/homeassistant/components/light/__init__.py", line 438, in state_attributes
Jan 21 16:22:07 hass hass[4334]:     if supported_features & SUPPORT_COLOR_TEMP:
Jan 21 16:22:07 hass hass[4334]: TypeError: unsupported operand type(s) for &: 'NoneType' and 'int'

Additional information:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions