Core: Broadlink RM pro+(0x27c3) not working after 0.115.1

Created on 19 Sep 2020  路  8Comments  路  Source: home-assistant/core

The problem

After updating to HA 0.115 and 0.115.1 my RM pro + doesn't create a new remote.
The model (taken from the addon Broadlink Manager) is 0x27c3.
It used to work without problem before the update.

Environment

  • Home Assistant Core release with the issue: 0.115.1
  • Last working Home Assistant Core release (if known): 0.114
  • Operating environment (OS/Container/Supervised/Core): OS
  • Integration causing this issue: Broadlink
  • Link to integration documentation on our website: https://www.home-assistant.io/integrations/broadlink/

Problem-relevant configuration.yaml


Traceback/Error logs

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 228, in async_setup
    result = await component.async_setup_entry(hass, self)  # type: ignore
  File "/usr/src/homeassistant/homeassistant/components/broadlink/__init__.py", line 28, in async_setup_entry
    return await device.async_setup()
  File "/usr/src/homeassistant/homeassistant/components/broadlink/device.py", line 97, in async_setup
    update_manager = get_update_manager(self)
  File "/usr/src/homeassistant/homeassistant/components/broadlink/updater.py", line 24, in get_update_manager
    if device.api.model.startswith("RM mini"):
AttributeError: 'NoneType' object has no attribute 'startswith'

Additional information

[('192.168.1.115', '0x27c3')]

broadlink

All 8 comments

broadlink documentation
broadlink source
(message by IssueLinks)

This will be fixed here.

@felipediel thanks very much

This will be fixed here.

Dear @felipediel ,

my RM mini 3 devtype is "0x27d0", not in the list of https://github.com/mjg59/python-broadlink/blob/master/broadlink/__init__.py

Is there a chance to be supported? i have seven @@"

@DidibabaQiu Thank you! We will support this device soon.

@DidibabaQiu Thank you! We will support this device soon.

Really thank you very very very much, I am worried that the seven devices I bought last week will turn into rubbish ...^^"

@felipediel hi, do you know when will release this change? or how i can support my device in other ways? because i cannot use my device after 0.115

I don't have this information. If you are rushing I can help you to workaround.

Open a terminal and connect to your device via SSH.

ssh USERNAME@HOST
docker exec -it homeassistant /bin/bash
cd /usr/local/lib/python3.8/site-packages/broadlink

Now you are in the python-broadlink library folder. You can manually add your type to the file __init__.py. Just make sure to backup your config first.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kirichkov picture kirichkov  路  3Comments

ofuangka picture ofuangka  路  3Comments

Elmardus picture Elmardus  路  3Comments

coolriku picture coolriku  路  3Comments

MartinHjelmare picture MartinHjelmare  路  3Comments