I’ve just upgraded my HA core from 2021.12 to 2022.4.3. As a result of this, all of the switches which I had defined for my two Broadlink devices (RM Pro and RM Mini) are unavailable. I have them defined in configuration.yaml like this:
- platform: broadlink
host: 192.168.1.87
mac: '34:EA:34:C7:87:FA'
switches:
photoframe:
command_on: 'sgSEAwUtBgwGCwYtBgsGLQYsBgsHLAYMBiwGDAYMBS0HCwYtBS0GCwcsBgsHLAYMBgsGLQYLBi0GDAYsBgsGLQcsBgsGDAYtBgsGLQUtBgwGCwYtBgsGLQYLBi0GLAYMBgABTQZZBgwGLAYMBiwGDAYsBwsGLAcsBQwGDAYsBywGCwcsBgwGDAYsBiwGDAYLBywGDAYsBi0GCwcrBwsGLQYMBQwGLQYMBS0GLQUMBi0GCwYtBQwGDAYsBgwGLAcLBiwGDAYtBiwGDAYMBiwGCwYtBiwGDAYLBywGDAYsBgwGLAYtBgsGAAFOBlkGDAUtBgsGLQYLBi0GCwYtBiwGDAYLBywGLAYMBiwGDQYLBi0GLAYMBgsGLQYLBi0GLAYMBiwGDAYsBgwGDAYtBQwGLAcsBgsHLAYMBiwGDAYLBi0GCwYtBgsGLQYLBi0GLQYMBQwGLQYLBi0FLQYMBgwFLQYLBi0GCwcsBiwGDAUAAU4GWQYLBywGCwcsBwsGLQUMBi0GLAYLBwsGLAcsBgwGLAYNBQwGLAYtBgsGDAYsBwsGLAYtBgwGLAYLBywGDAUMBi0GDAYsBi0GCwYsBwwFLQYLBgwGLAcLBiwHCwYtBgsGLQYsBgwGDAYsBgwGLAYsBwsGDAYtBgsGLQUMBi0GLAYMBQABTgZZBgsGLQYMBiwGDAYsBgsHLAYtBgsGDAYsBi0GCwYtBg0FDAYsBi0FDAYMBS0GDAYsBi0GCwYtBgsHLAYLBgwGLQYMBS0GLAYMBi0FDAYsBg0FDAUtBgwGLAYMBiwGDAYtBiwGDAYMBiwGDAUtBi0FDAYMBiwGDAYsBgwGLAYtBgsGAAFOBlkGCwYtBgsGLQYLBi0GCwYtBiwGDAYMBiwGL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AFPBlkGCwYtBgwGLAYMBi0GCwYtBi0FDAYMBi0FLQYMBiwGDQUMBi0GLAYMBi0GCwYtBgsHCwYtBgwGLAYtBgwGLAYMBi0FDAYMBi0GCwcsBgwGLAYtBgwGCwYtBiwHCwYMBi0GLAYMBgwGLAcLBi0GDAUuBQwGLAcLBi0GDAUtBgwGLAYAAU4GWgUMBi0GCwYtBgwGLQUMBi0GLAYNBQwFLQYtBgsGLQYMBgwGLAcsBgwGLAYMBiwGDAYMBi0GCwYtBiwGDAYtBgwGLAYMBgwGLQUMBi0GDAUtBi0GCwYMBi0GLAYMBgwFLQcsBgwGDAYsBgwGLAcLBi0GCwYtBgwGLAYMBi0GCwYtBgABTgZZBgsHLAYMBi0GCwYtBgsHLQYrBwwGCwYtBiwHCwYtBgwGCwYtBiwHDAUtBgwGLAYMBgwGLAYMBi0GLAYMBiwGDAYtBg0FDAUtBgwGLQYLBi0GLAYMBgwGLAcsBgwGCwYtBi0GDAYLBi0GDAYsBgwGLAcLBi0GCwYtBg0FLAYMBi0FAAFPBlkGDAUtBgwGLAcLBi0GCwcsBiwHDAYLBi0GLAYMBi0FDQYLBi0GLAYMBi0GDAYsBgwGDAUtBgwGLAcsBgwGLAYNBS0GDAYLBi0GDAUtBwsGLAcsBgwGCwYtBi0GCwYMBi0GLQYLBwsGLQYLBi0GDAUtBwsGLAcLBi0GCwcsBgwGLAYAAU8GWQYLBi0GCwcsBgwGLQYLBi0GLQUMBgwGLAYtBgwGLAYNBgsGLQYsBgwGLQYMBS0GDAUMBi0GDAYsBi0GDAYsBgwHLAYMBgsGLQYLBi0GDAYsBi0GDAYMBS0GLQYMBQwGLQYsBwwFDAYtBgsGLQYLBywGDAYsBgwGLQYMBS0GDAYsBgAF3AAAAAA='
Both of my Broadlink devices are detected by the Broadlink integration (I can see them in the Lovelace UI), but the switch definitions are no longer working.
I also have this in my Notifications in the Lovelace UI:
The following integrations and platforms could not be set up:
switch.broadlink
Any idea how I can restore my switch definitions? (I have about 20 of them)