zigpy / zigpy-cc

Texas Instruments Z-Stack ZNP handler for zigpy
https://github.com/zigpy/zigpy-cc
GNU General Public License v3.0
71 stars 13 forks source link

Add API probe method #35

Closed Adminiuga closed 4 years ago

Adminiuga commented 4 years ago

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 commented 4 years ago

Rebased!

sanyatuning commented 4 years ago

review ok