Broadlink RM Pro+ (PermissionError)

Hi,

Sorry if I am double posting, but I am unable to find the solution for the below error.

ERROR (MainThread) [homeassistant.components.switch] Error while setting up platform broadlink
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_platform.py”, line 126, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/lib/python3.5/asyncio/tasks.py”, line 400, in wait_for
return fut.result()
File “/usr/lib/python3.5/asyncio/futures.py”, line 293, in result
raise self._exception
File “/usr/lib/python3.5/concurrent/futures/thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/broadlink/switch.py”, line 178, in setup_platform
broadlink_device.auth()
File “/srv/homeassistant/lib/python3.5/site-packages/broadlink/init.py”, line 228, in auth
response = self.send_packet(0x65, payload)
File “/srv/homeassistant/lib/python3.5/site-packages/broadlink/init.py”, line 303, in send_packet
self.cs.sendto(packet, self.host)
PermissionError: [Errno 1] Operation not permitted

I have followed the guide below to configure:
https://www.home-assistant.io/components/broadlink/#switch

Home Assistant version 0.91.1
My current configuration.yaml:

> switch:
>   - platform: broadlink
>     host: xx.xx.xx.xx
>     mac: 'zz:zz:zz:zz:zz:zz'
>     timeout: 15
>     switches:
>       aircon_power:
>         friendly_name: "Aircon Power"
>         command_on: 'redacted'
>         command_off: 'redacted'

Steps that I have took:

  1. Replace the init.py file with the one below.
    https://github.com/mjg59/python-broadlink/blob/master/broadlink/init.py
  2. Upgrade pycryptodome
    https://github.com/home-assistant/home-assistant/issues/20637

Am willing to try any recommendations to get this component working. Any help is appreciated.

Anyone can help please?