core: Broadlink switches not shown on version 115.1

The problem

After upgrade from 114 to 115.1 the broadlink platform switches are not shown up in the user interface. I haver succesfuly configured broadlink component, and it works because I haver some covers which are controlled with broadlink rm+, and also I can controll the switches with the remote.send_command service through development tools.

Environment

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

Problem-relevant configuration.yaml

switch:
  - platform: broadlink
    mac: !secret broadlinkmac
    switches:
      - name: Hálószoba
        command_off: sgw0ACQNDSQNJA0kDSQkDQ0kDSQNJCQNDSQNJA0kJA0kDQ0kJA0kDSQNJA0kDSQNJA0NJAwAAW8AAAAA
        command_on: sgw0ACQNDSQNJA0kDSQkDQ0kJA0NJCQNDSQkDQ0kJA0NJA0kJA0kDQ0kDSQNJCQNJA0NJAwAAW8AAAAA

Traceback/Error logs

There is no error in the log


Additional information

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 17 (5 by maintainers)

Most upvoted comments

@petikeje We changed a lot of things recently. Now the device is configured via config flow and your switches are linked to the device via MAC address. You can no longer use a wrong MAC.

Ok… I check the MAC I had on my YAML… And now I remember that in previous switch config, you had to put the MAC address backward (if the MAC was 34:XX:XX:XX:AB, you had to put like AB:XX:XX:XX:34, or did not work.

Now I wrote the MAC in correct way, and works again…

Thanks !