Hello,
after the last update, I lost access to my Broadlink and shelly switches.
I have this error in the log: “Setup failed for switch: No setup function defined.” And “Entity not available” appears in the frontend.
For shelly, I use a component (I’ve already tried to follow the new folder structure with manifest.json and init.py) “https://gist.github.com/ispiropoulos/90a5f215e71f4dde635e3e3407fb5804” and then I have a switch.yaml file where the settings are configured.
- platform: shelly
switches:
shelly_switch:
name: "Sala - Luzes"
path: /relay/0 (optional, defaults to /relay/0)
host: xxx.xxx.xxx.xxx
username: xxxxxx
password: xxxxxx
For broadlinks, in this same file I have this configuration:
- platform: broadlink
host: xxx.xxx.xxx.xxx
mac: 'xxxxxxxxx'
timeout: 15
switches:
ac_corredor:
friendly_name: "AC Corredor"
command_on: 'xxxx=='
command_off: 'xxxx=='
I have already wasted hours on this and can not get it to work, any help possible?
Thank you