Skip to content

use service response for ports#39

Open
devsnek wants to merge 1 commit into
craigbarratt:masterfrom
devsnek:use-service-response
Open

use service response for ports#39
devsnek wants to merge 1 commit into
craigbarratt:masterfrom
devsnek:use-service-response

Conversation

@devsnek

@devsnek devsnek commented May 29, 2026

Copy link
Copy Markdown

changes to match custom-components/pyscript#851

Use the service response instead of polling the state

@devsnek devsnek force-pushed the use-service-response branch from 8bee309 to 5973d43 Compare May 30, 2026 07:25
@devsnek

devsnek commented Jun 9, 2026

Copy link
Copy Markdown
Author

@craigbarratt bump on this one since you merged the other one

@craigbarratt

Copy link
Copy Markdown
Owner

Thanks for the PR. Can you update it to be backward compatible on the HA side - if (await result.json())["service_response"]["ports"] fails, then it should still run the old code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants