-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Sync up with zigpy 0.60.0 * Fix unit tests * Add remaining unit tests * Fix watchdog unit test * Re-add XBee config
- Loading branch information
Showing
8 changed files
with
62 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,12 @@ | ||
"""XBee module config.""" | ||
|
||
import voluptuous as vol | ||
from zigpy.config import ( # noqa: F401 pylint: disable=unused-import | ||
CONF_DATABASE, | ||
CONF_DEVICE, | ||
CONF_DEVICE_PATH, | ||
CONFIG_SCHEMA, | ||
SCHEMA_DEVICE, | ||
cv_boolean, | ||
) | ||
|
||
CONF_DEVICE_BAUDRATE = "baudrate" | ||
import zigpy.config | ||
|
||
SCHEMA_DEVICE = SCHEMA_DEVICE.extend( | ||
{vol.Optional(CONF_DEVICE_BAUDRATE, default=57600): int} | ||
SCHEMA_DEVICE = zigpy.config.SCHEMA_DEVICE.extend( | ||
{vol.Optional(zigpy.config.CONF_DEVICE_BAUDRATE, default=57600): int} | ||
) | ||
|
||
CONFIG_SCHEMA = CONFIG_SCHEMA.extend({vol.Required(CONF_DEVICE): SCHEMA_DEVICE}) | ||
CONFIG_SCHEMA = zigpy.config.CONFIG_SCHEMA.extend( | ||
{vol.Required(zigpy.config.CONF_DEVICE): zigpy.config.SCHEMA_DEVICE} | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters