Skip to content

B05-BL doesen't work or show entities after Ha 2026.3.0 update #1750

@Neuropsihopuppu

Description

@Neuropsihopuppu

After updating home assistant today one B05-BL no longer shows any entities and i receive several errors in the logs regarding it i will paste the logs below

Image
Logger: homeassistant.components.light
Source: helpers/entity_platform.py:680
integration: Light (documentation, issues)
First occurred: 21:01:46 (3 occurrences)
Last logged: 21:09:33

Error adding entity sonoff.sonoff_1002213b9a for domain light with platform sonoff
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 680, in _async_add_entities
    await self._async_add_entity(
        entity, False, entity_registry, config_subentry_id
    )
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 915, in _async_add_entity
    capabilities=entity.capability_attributes,
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/light/__init__.py", line 875, in capability_attributes
    min_color_temp_kelvin = self.min_color_temp_kelvin
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/sonoff/light.py", line 147, in min_color_temp_kelvin
    return color_util.color_temperature_mired_to_kelvin(self.max_mireds)
                                                        ^^^^^^^^^^^^^^^
AttributeError: 'XLightB05B' object has no attribute 'max_mireds'


Log details (ERROR)
This error originated from a custom integration.
Logger: custom_components.sonoff.core.entity
Source: custom_components/sonoff/core/entity.py:88
integration: Sonoff ([documentation](https://github.com/AlexxIT/SonoffLAN), [issues](https://github.com/AlexxIT/SonoffLAN/issues))
First occurred: 21:01:45 (3 occurrences)
Last logged: 21:09:33

Can't init device: {'name': 'Laundry Room', 'deviceid': '1002213b9a', 'apikey': 'ebeb439c-5412-4122-b211-aaa5f26cef71', 'extra': {'model': 'BL1-ALL-LED', 'mac': 'd0:27:03:b9:37:06', 'apmac': 'd0:27:03:b9:37:07', 'uiid': 136, 'ui': 'RGB五色灯_支持2.4G轻智能', 'modelInfo': '611e0d429d679662bd8defd0', 'brandId': '5c4c1aee3a7d24c7100be054', 'itCredential': 'agplyQf5cqJ58WYs', 'description': 'RGBCW五色球泡得邦版本', 'manufacturer': '深圳松诺技术有限公司'}, 'brandName': 'SONOFF', 'brandLogo': 'https://eu-ota.coolkit.cc/logo/q62PevoglDNmwUJ9oPE7kRrpt1nL1CoA.png', 'showBrand': True, 'productModel': 'B05-BL', 'tags': {'m_ef71_nigu': 'on', 'un_cct_ef71_.com': [{'ltype': 'white', 'colorTemp': 100, 'bright': 100, 'select': False}, {'ltype': 'white', 'colorTemp': 50, 'bright': 100, 'select': False}, {'ltype': 'white', 'colorTemp': 0, 'bright': 100, 'select': True}]}, 'devConfig': {}, 'settings': {'opsNotify': 0, 'opsHistory': 1, 'alarmNotify': 1, 'wxAlarmNotify': 0, 'wxOpsNotify': 0, 'wxDoorbellNotify': 0, 'appDoorbellNotify': 1}, 'devGroups': [], 'family': {'familyid': '6026fc410f7a7f00072a3f45', 'index': -14, 'members': [], 'guests': [], 'roomid': '662005cb15ef2e00082f3493'}, 'shareTo': [], 'devicekey': 'f2f02dc6-1a7e-4497-914e-3ae447b438d2', 'online': True, 'params': {'bindInfos': {'gaction': ['ebeb439c-5412-4122-b211-aaa5f26cef71_ewelinkGoogleHome'], 'alexa': ['ebeb439c-5412-4122-b211-aaa5f26cef71_26ca1996a20e8bd63617ab272d4eeede1d2d8e32']}, 'version': 8, 'fwVersion': '1.7.0', 'rssi': -53, 'bssid': '5c:02:14:ba:9d:03', 'ltype': 'white', 'mac': '24:94:94:cc:71:cb', 'ssid': 'I Believe Wi Can Fi', 'switch': 'on', 'white': {'br': 43, 'ct': 11}, 'only_device': {'ota': 'success', 'ota_fail_reason': 0}, 'TZ': 'Atlantic/Faroe', 'slowlyDimmed': 500, 'slowlyLit': 500, 'addSubDevState': 'off', 'addTimeOut': 10}, 'denyFeatures': ['startup', 'slow_start', 'slowStartTime', 'upgradeFirmwareReminder', 'reverseRemoteCCT', 'atom', 'segmentedDimmig', 'onlineWhenLightOff', 'autoUpdateOta', 'matter_pair_mode', 'timer_support_DST', 'startupWithFlip', 'tzInfo', 'startupWithDiy', 'remoteControl', 'lightScene', 'remoteSupport'], 'isSupportGroup': True, 'isSupportedOnMP': False, 'isSupportChannelSplit': False, 'deviceFeature': {}}
Traceback (most recent call last):
  File "/config/custom_components/sonoff/core/entity.py", line 88, in __init__
    self.internal_update(None if self.event else params)
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/sonoff/core/entity.py", line 113, in internal_update
    self.set_state(params)
    ~~~~~~~~~~~~~~^^^^^^^^
  File "/config/custom_components/sonoff/light.py", line 902, in set_state
    state["ct"], self.min_ct, self.max_ct, self.max_mireds, self.min_mireds
                                           ^^^^^^^^^^^^^^^
AttributeError: 'XLightB05B' object has no attribute 'max_mireds

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions