KiraPC / ha-switchbot-remote

A Custom HomeAssistant Integration to control Switchbot Hub
MIT License
54 stars 3 forks source link

Use channel number for settop box #24

Closed Maetzi87 closed 12 months ago

Maetzi87 commented 1 year ago

Hi :-) First, thank you very much for this integration! I have a problem, assuming I'm just too dump to set it up correctly... Your description says "Channel number to source via service" should be possible for settop boxes. But if I try to add the numbers to my settop box (which is shown and power on/off works fine), I get the error, that the buttons do not exist. So I added a completly custom remote where I added the number buttons and on/off button. On/off again works fine, but trying to trigger one of the numbers prompts this error: Screenshot_20231014_084050_Home Assistant "Error calling service button/press. OtherRemote.command() takes from 2 to 3 positional arguments but 4 were given." Could you please tell me how to set it all up to send eg. a "23" command via automation to my settop box? Preferably with the "normal" remote, but if it only works with the completly custom remote that's also fine for me. I do not have much experience with services yet and I just don't know, where to start...

Maetzi87 commented 1 year ago

Forgot to mention: I use a Switchbot Hub 2, if this matters. 😅 And I control my Switchbot curtains via Matter and Bluetooth (had Bluetooth already set up, when the Hub 2 was launched, but didn't work reliable, so I now use both, since Matter is also sometimes bitchy). But I guess that's totally irrelevant here. 🙈

KiraPC commented 1 year ago

related to #25

KiraPC commented 12 months ago

Closed https://github.com/KiraPC/ha-switchbot-remote/pull/28