Hi everyone,
I have bought a Broadlink RM mini 3 but when I tried to add it to my hassio I couldn’t get it to work.
Following a guide i added this to my configuration.yaml:
switch:
- platform: broadlink
host: 192.168.0.187
mac: 'C8-F7-42-83-21-41'
timeout: 30
friendly_name: "Broadlink"
type: rm_mini
switches:
bedroom_aircon:
friendly_name: "Bedroom aircon"
command_on: ''
command_off: ''
But when I restarted the HA there was no new service.
I also get this error:
Error while setting up platform broadlink
12:36 AM components/broadlink/switch.py (ERROR)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 150, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
return fut.result()
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/broadlink/switch.py", line 100, in setup_platform
mac_addr = binascii.unhexlify(config.get(CONF_MAC).encode().replace(b":", b""))
binascii.Error: Odd-length string
Can someone help me solve this problem?
Thanks