I have used a BroadLink device to learn the codes for my motorized blinds remote. Everything works as it should except voice assist/chatgpt doesn’t seem to recognize the device and replies with something like no device named kitchen blinds. I guess this is because the blinds are not actually set up as a device and the BroadLink device is controlling them. Any suggestions on where I create this device entity so voice assist will find it?
You’re right, HA doesn’t know anything about the devices being controlled, only about the remote itself.
Have you tried using the codes to set up switches? These could then be exposed to the voice assistant. Details right at the bottom of the Broadlink docs.
Sounds like a fix. Will give it a try.
OK, this is what I’ve got but I seem to be getting some inconsistent results and need more testing.
A little different from the example since this is not an on/off situation and not sure if I need a duration or something to end sending the command?
switch:
- platform: broadlink
mac: E8:70:72:08:77:11
switches:
- name: Kitchen Blinds Open
command_on: scD8~~~~~~ABdw=
- platform: broadlink
mac: E8:70:72:08:77:11
switches:
- name: Kitchen Blinds Close
command_on: scD4~~~~~~ABdw=
When using the switch code below can I add something like below if needed?
data:
num_repeats: 1
delay_secs: 0.4
hold_secs: 0
I don’t think so - switches are binary, on and off. It’s a while since I used Broadlink, but I would have tried something like…
switch:
- platform: broadlink
mac: E8:70:72:08:77:11
switches:
- name: Kitchen Blinds
command_on: scD8~~~~~~ABdw=
command_off: scD4~~~~~~ABdw=
…“on” being open and “off” being close - the point being that you now have an entity you can expose to Assist.
Mind you, I don’t have much experience with blinds either.