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.
configuration.yaml
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'
[('192.168.1.115', '0x27c3')]
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.