-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #541 from puddly/rc
0.35.0 Release
- Loading branch information
Showing
14 changed files
with
485 additions
and
114 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
MAJOR_VERSION = 0 | ||
MINOR_VERSION = 34 | ||
PATCH_VERSION = "10" | ||
MINOR_VERSION = 35 | ||
PATCH_VERSION = "0" | ||
__short_version__ = f"{MAJOR_VERSION}.{MINOR_VERSION}" | ||
__version__ = f"{__short_version__}.{PATCH_VERSION}" |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
""""EZSP Protocol version 11 protocol handler.""" | ||
import voluptuous as vol | ||
|
||
import bellows.config | ||
|
||
from . import commands, config, types as v11_types | ||
from ..v10 import EZSPv10 | ||
|
||
EZSP_VERSION = 11 | ||
|
||
|
||
class EZSPv11(EZSPv10): | ||
"""EZSP Version 11 Protocol version handler.""" | ||
|
||
COMMANDS = commands.COMMANDS | ||
SCHEMAS = { | ||
bellows.config.CONF_EZSP_CONFIG: vol.Schema(config.EZSP_SCHEMA), | ||
bellows.config.CONF_EZSP_POLICIES: vol.Schema(config.EZSP_POLICIES_SCH), | ||
} | ||
types = v11_types |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
from . import types as t | ||
from ..v10.commands import COMMANDS as COMMANDS_v10 | ||
|
||
COMMANDS = { | ||
**COMMANDS_v10, | ||
"pollHandler": ( | ||
0x0044, | ||
(), | ||
tuple({"childId": t.EmberNodeId, "transmitExpected": t.Bool}.values()), | ||
), | ||
} |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import voluptuous as vol | ||
|
||
from bellows.config import cv_uint16 | ||
|
||
from ..v4.config import EZSP_POLICIES_SHARED | ||
from ..v10 import config as v10_config | ||
from .types import EzspPolicyId | ||
|
||
EZSP_SCHEMA = { | ||
**v10_config.EZSP_SCHEMA, | ||
} | ||
|
||
EZSP_POLICIES_SCH = { | ||
**EZSP_POLICIES_SHARED, | ||
**{vol.Optional(policy.name): cv_uint16 for policy in EzspPolicyId}, | ||
} |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
from ..v10.types import * # noqa: F401, F403 |
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
Oops, something went wrong.