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

Add schema for network parameters #388

Merged
merged 7 commits into from Apr 21, 2020

Conversation

Adminiuga
Copy link
Collaborator

Add network section and schema into default SCHEMA_ZIGPY
example

network:
    update_id: 1
    pan_id: 0x1234
    extended_pan_id: 00:11:22:33:44:55:66:77:88
    network_key: [1, 2, 3, 4, ... 16]
    channels: [15, 20, 25]
    channel: 15

@coveralls
Copy link

coveralls commented Apr 21, 2020

Coverage Status

Coverage increased (+0.0002%) to 99.979% when pulling 16574c9 on Adminiuga:ac/zigpy-network-param-schema into 5dd1165 on zigpy:dev.

@Adminiuga Adminiuga merged commit 02f2a03 into zigpy:dev Apr 21, 2020
@Adminiuga Adminiuga deleted the ac/zigpy-network-param-schema branch April 21, 2020 22:22
puddly pushed a commit to puddly/zigpy that referenced this pull request Jul 11, 2020
* Add NETWORK and NETWORK_UPDATE schemas.
* Refactor config.py
* Validate keys.
* Refactor update_network() signature.
Remove NETWORK_UPDATE schema.

* Add hex number validator/convertor.
* Add tests.
* Update coverage.
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.

None yet

2 participants