Skip to content

Add API probe method#35

Merged
sanyatuning merged 1 commit intozigpy:new-zigpy-init/devfrom
Adminiuga:new-zigpy-init/02-probe-method
Apr 15, 2020
Merged

Add API probe method#35
sanyatuning merged 1 commit intozigpy:new-zigpy-init/devfrom
Adminiuga:new-zigpy-init/02-probe-method

Conversation

@Adminiuga
Copy link
Contributor

@Adminiuga Adminiuga commented Apr 15, 2020

This PR adds a "lightweight" probe method to validate there's is a correct device on the selected port. If we get a reply to version() command, then we consider a correct device on the given port.
HA Core would use this probe method (instead of full blown zigpy load/startup) to validate config entry data.

@Adminiuga Adminiuga force-pushed the new-zigpy-init/02-probe-method branch from 697431f to d26c0af Compare April 15, 2020 18:16
@Adminiuga
Copy link
Contributor Author

Rebased!

@Adminiuga Adminiuga requested a review from sanyatuning April 15, 2020 18:18
@Adminiuga Adminiuga changed the title WIP Add API probe method Add API probe method Apr 15, 2020
@sanyatuning
Copy link
Collaborator

review ok

@sanyatuning sanyatuning merged commit 55ee8e7 into zigpy:new-zigpy-init/dev Apr 15, 2020
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