Skip to content

Restore PaddleSwitchPico (Pico Paddle Remote) device trigger to Lutron Caseta#137689

Merged
frenck merged 5 commits intodevfrom
revert-137571-revert-135615-dustmason/caseta-paddle
Feb 20, 2025
Merged

Restore PaddleSwitchPico (Pico Paddle Remote) device trigger to Lutron Caseta#137689
frenck merged 5 commits intodevfrom
revert-137571-revert-135615-dustmason/caseta-paddle

Conversation

@bdraco
Copy link
Copy Markdown
Member

@bdraco bdraco commented Feb 7, 2025

Reverts the revert in #137571 and instead fixes #137548

button_0 and button_2 were not valid names. They needed to be mapped as on/off since button_0 and button_2 are not valid subtypes for this integration

@home-assistant
Copy link
Copy Markdown
Contributor

home-assistant Bot commented Feb 7, 2025

Hey there @swails, @danaues, @eclair4151, mind taking a look at this pull request as it has been labeled with an integration (lutron_caseta) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of lutron_caseta can trigger bot actions by commenting:

  • @home-assistant close Closes the pull request.
  • @home-assistant rename Awesome new title Renames the pull request.
  • @home-assistant reopen Reopen the pull request.
  • @home-assistant unassign lutron_caseta Removes the current integration label and assignees on the pull request, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the pull request.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the pull request.

@bdraco bdraco added the bugfix label Feb 7, 2025
Comment thread homeassistant/components/lutron_caseta/device_trigger.py Outdated
@bdraco
Copy link
Copy Markdown
Member Author

bdraco commented Feb 19, 2025

press

2025-02-19 13:55:26.072 DEBUG (MainThread) [pylutron_caseta.leap] received for subscription 2f1c81a3-a4fe-4ab8-81f6-89298ab7ff3a: {'CommuniqueType': 'UpdateResponse', 'Header': {'MessageBodyType': 'OneButtonStatusEvent', 'StatusCode': '200 OK', 'Url': '/button/101/status/event'}, 'Body': {'ButtonStatus': {'Button': {'href': '/button/101'}, 'ButtonEvent': {'EventType': 'Press'}}}}
2025-02-19 13:55:26.072 DEBUG (MainThread) [pylutron_caseta.smartbridge] Handling button status: Response(Header=ResponseHeader(StatusCode=ResponseStatus(200, 'OK'), Url='/button/101/status/event', MessageBodyType='OneButtonStatusEvent', Paging=None), CommuniqueType='UpdateResponse', Body={'ButtonStatus': {'Button': {'href': '/button/101'}, 'ButtonEvent': {'EventType': 'Press'}}})
2025-02-19 13:55:26.310 DEBUG (MainThread) [pylutron_caseta.leap] received for subscription 2f1c81a3-a4fe-4ab8-81f6-89298ab7ff3a: {'CommuniqueType': 'UpdateResponse', 'Header': {'MessageBodyType': 'OneButtonStatusEvent', 'StatusCode': '200 OK', 'Url': '/button/101/status/event'}, 'Body': {'ButtonStatus': {'Button': {'href': '/button/101'}, 'ButtonEvent': {'EventType': 'Release'}}}}
2025-02-19 13:55:26.310 DEBUG (MainThread) [pylutron_caseta.smartbridge] Handling button status: Response(Header=ResponseHeader(StatusCode=ResponseStatus(200, 'OK'), Url='/button/101/status/event', MessageBodyType='OneButtonStatusEvent', Paging=None), CommuniqueType='UpdateResponse', Body={'ButtonStatus': {'Button': {'href': '/button/101'}, 'ButtonEvent': {'EventType': 'Release'}}})

release

2025-02-19 13:55:34.606 DEBUG (MainThread) [pylutron_caseta.leap] received for subscription 8c121d80-7a19-43e4-afef-451dd7862ae2: {'CommuniqueType': 'UpdateResponse', 'Header': {'MessageBodyType': 'OneButtonStatusEvent', 'StatusCode': '200 OK', 'Url': '/button/102/status/event'}, 'Body': {'ButtonStatus': {'Button': {'href': '/button/102'}, 'ButtonEvent': {'EventType': 'Press'}}}}
2025-02-19 13:55:34.606 DEBUG (MainThread) [pylutron_caseta.smartbridge] Handling button status: Response(Header=ResponseHeader(StatusCode=ResponseStatus(200, 'OK'), Url='/button/102/status/event', MessageBodyType='OneButtonStatusEvent', Paging=None), CommuniqueType='UpdateResponse', Body={'ButtonStatus': {'Button': {'href': '/button/102'}, 'ButtonEvent': {'EventType': 'Press'}}})
2025-02-19 13:55:34.764 DEBUG (MainThread) [pylutron_caseta.leap] received for subscription 8c121d80-7a19-43e4-afef-451dd7862ae2: {'CommuniqueType': 'UpdateResponse', 'Header': {'MessageBodyType': 'OneButtonStatusEvent', 'StatusCode': '200 OK', 'Url': '/button/102/status/event'}, 'Body': {'ButtonStatus': {'Button': {'href': '/button/102'}, 'ButtonEvent': {'EventType': 'Release'}}}}
2025-02-19 13:55:34.764 DEBUG (MainThread) [pylutron_caseta.smartbridge] Handling button status: Response(Header=ResponseHeader(StatusCode=ResponseStatus(200, 'OK'), Url='/button/102/status/event', MessageBodyType='OneButtonStatusEvent', Paging=None), CommuniqueType='UpdateResponse', Body={'ButtonStatus': {'Button': {'href': '/button/102'}, 'ButtonEvent': {'EventType': 'Release'}}})

@bdraco bdraco marked this pull request as ready for review February 19, 2025 20:03
@frenck frenck merged commit 97bf557 into dev Feb 20, 2025
@frenck frenck deleted the revert-137571-revert-135615-dustmason/caseta-paddle branch February 20, 2025 21:49
@dustMason
Copy link
Copy Markdown
Contributor

thank you for fixing my mistake 🙇

@bdraco
Copy link
Copy Markdown
Member Author

bdraco commented Feb 20, 2025

Thanks, no worries

@github-actions github-actions Bot locked and limited conversation to collaborators Feb 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pico remotes not working 2025.2.0 when a PaddleSwitchPico is present

3 participants