Skip to content

Entities going away with 2 Gang Relay #634

@svinginum

Description

@svinginum

Hub 2nd Gen. Entities are going away with 2 Gang Relay.

When adding 2gang wired relay to the Wiser Home app, the entities for "light.xxxxx" and "select.xxxxx" dissapears for Dimmers and Relays.

If we remove the 2gang wired relay from the Wiser Home, then they entities comes back.

firmware on 2gang relay is 1.2.24

switch.wiser_onofflight_gongdd1_gongdl1_away_mode_turns_off
2025-12-28 20:49:44.871 ERROR (MainThread) [homeassistant.components.select] Error while setting up wiser platform for select: 'list' object has no attribute 'available_modes'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 451, in _async_setup_platform
await asyncio.shield(awaitable)
File "/config/custom_components/wiser/select.py", line 38, in async_setup_entry
wiser_selects.extend([WiserLightModeSelect(data, light.id)])
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/config/custom_components/wiser/select.py", line 232, in init
self._options = self._device.available_modes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'list' object has no attribute 'available_modes'
2025-12-28 20:49:44.899 ERROR (MainThread) [homeassistant.components.light] Error while setting up wiser platform for light: 'list' object has no attribute 'schedule'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 451, in _async_setup_platform
await asyncio.shield(awaitable)
File "/config/custom_components/wiser/light.py", line 34, in async_setup_entry
wiser_lights.append(WiserLight(data, light.id))
~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/config/custom_components/wiser/light.py", line 47, in init
self._schedule = self._device.schedule
^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'list' object has no attribute 'schedule'

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