If you’re on one of the latest versions of HA, Broadlink integration needs to be set up via gui :
“To set up a Broadlink device, click Configuration in the sidebar and click Integrations . If you see your device there, click Configure . If not, click the + icon in the lower right, enter the hostname or IP address of the device and follow the instructions to complete the setup.”
Then you won’t need host: and type: entries in configuration.yaml
I would also try to get rid of quotes in MAC address (don’t have them in my config), but it might not be a culprit.
I am trying to set up a broadlink device via gui (configuration + Add Integration), I put the Host IP but then appears a “Unknown error occurred” and doesn´t connect, somebody knows the reason? Thanks.
Hi, thanks for you help.
When I verify the configuration, it appears: Invalid config for [switch.broadlink]: [timeout] is an invalid option for [switch.broadlink]. Check: switch.broadlink->timeout. (See ?, line ?).
And if I restart HA, the error message is:
Logger: homeassistant.components.broadlink.switch
Source: helpers/config_validation.py:749
Integration: Broadlink (documentation, issues)
First occurred: 16:20:06 (4 occurrences)
Last logged: 16:22:56
The ‘host’ option is deprecated, please remove it from your configuration
The ‘timeout’ option is deprecated, please remove it from your configuration