I’m running into an issue trying to set up some custom switches as per the current documentation for Broadlink IR blasters (I have 2 of the RM4 minis). I’m not sure if I am hitting a broadlink platform limitation here or what, but I can’t seem to set up separate custom switches for the two IR blasters. I have checked my yaml multiple times over, and it looks correct to me, but I’m hoping someone can look at this and tell me what might be going wrong. When I check the config from the Home Assistant GUI, I get the following error:
Invalid config for [switch.broadlink]: [comand_on] is an invalid option for [switch.broadlink]. Check: switch.broadlink->switches->0->comand_on. (See ?, line ?).
EDIT: I am also noticing that when I do comment those last 5 lines out, the broadlink switches for the fan and AC do not show up anywhere in Home Assistant (no Entities or anything)
Not sure what changed or if I was just being dumb, but I do see the entities for the first set of switches (contrary to above)
Good question. I did try removing that, but still get the same error message. To answer your question though, the wake_on_lan bit is a switch to wake up my gaming PC so I don’t have to get my lazy butt off the couch
Ohhhkay, finally just made some progress. I believe the issue was some bad YAML formatting somewhere. Since the first set of broadlink switches work, I decided to copy those lines and replaced the ones that didn’t work with those working lines (and just changed the mac address to the desired device). Instantly got the green “Configuration valid!” after that. I swear YAML drives me nuts sometimes…
Next question: Am I the only one around here who hates YAML for this very reason? Oh well, at least it wasn’t a bug!