python-broadlink: Broadlink RM4 Pro not able to be integrated in 0.108.6 vs

@felipediel @Danielhiversen I have 2 Broadlink RM Pro. One RM2 PRO and an RM4 Pro. RM2 works perfectly just from the first moment when I used it. After I upgraded HA to the latest version 0.108.6, I am not able to integrate RM4 Pro. These are my settings from configuration.yaml

for the switch

  - platform: broadlink
    host: 192.168.1.166
    mac: 24:DF:A7:B9:C6:81
    type: rm4_pro

for the sensor

  - platform: broadlink
    host: 192.168.1.166
    mac: 24:DF:A7:B9:C6:81
    type: rm4_pro
    monitored_conditions:
      - 'temperature'
      - 'humidity'

Each time when I press Check Config button I receive the following message:

Blockquote Invalid config for [sensor.broadlink]: [type] is an invalid option for [sensor.broadlink]. Check: sensor.broadlink->type. (See ?, line ?). Invalid config for [switch.broadlink]: value is not allowed for dictionary value @ data[‘type’]. Got ‘rm4_pro’. (See ?, line ?).

Can you help me please with some advises?

I want to mention that RM4 PRO is already Registered in the Broadlink app and has a fix IP.

[Later Edit] I comment out type line from both blocks of code and I didn’t receive any error when I check the configuration. After reboot, the switch is not available and the sensors return the following state Screenshot 2020-04-18 at 11 24 09

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 27

Most upvoted comments

@felipediel I think that issue must be closed because everything works as design Here

@felipediel the gate is a communcal gate of the block of apartments and is already setup with RF I’m afraid

Aha. There go my plans to eventually setup an RM Pro with an RF signal to automatically open the garage gate when I’m in 2 minute range of home…

@felipediel Not really in a hurry, was only mindful if I was doing anything wrong. If it has not been released yet I can wait until it is. Thanks.

Fixed by home-assistant/core#32523. From now on, your devices will work out of the box.

I suppose this bug fix will be integrated in the next release.

So great!!! I Will try to install the integration (-:

Fixed by https://github.com/home-assistant/core/pull/32523. From now on, your devices will work out of the box.