Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when executing Custom Button - "takes from 2 to 3 positional arguments but 4 were given" #25

Closed
MarcStocker opened this issue Oct 15, 2023 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@MarcStocker
Copy link

I was able to find and add my custom remote, however it appears only the power toggle works.
All other custom buttons within the remote return the same error upon invoking them.

Integration Debug logs:
homeassistant_switchbotremote_debug_logs.txt

image

Switchbot Remote, and HA Integration Setup:
image
image

@KiraPC
Copy link
Owner

KiraPC commented Oct 16, 2023

@joshepw could you check?

@KiraPC KiraPC added the bug Something isn't working label Oct 16, 2023
@Maetzi87
Copy link

Maetzi87 commented Nov 3, 2023

Any progress on this?

@KiraPC
Copy link
Owner

KiraPC commented Nov 3, 2023

@Maetzi87 i'll try to figure out in this weekend, but idk if I have time.

@Maetzi87
Copy link

Maetzi87 commented Nov 3, 2023

Thank you 😀

@joshepw
Copy link
Collaborator

joshepw commented Nov 3, 2023

Hello guys, sorry i will check right now this

@KiraPC KiraPC closed this as completed in 50a0beb Nov 28, 2023
KiraPC added a commit that referenced this issue Nov 28, 2023
@KiraPC
Copy link
Owner

KiraPC commented Nov 28, 2023

@MarcStocker @Maetzi87 I've bumped a new release 1.1.1 that should fix this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants