Skip to content

Add MySensors ACK#26894

Merged
MartinHjelmare merged 2 commits into
home-assistant:devfrom
petewill:dev
Sep 25, 2019
Merged

Add MySensors ACK#26894
MartinHjelmare merged 2 commits into
home-assistant:devfrom
petewill:dev

Conversation

@petewill
Copy link
Copy Markdown
Contributor

Description:

The addition of the ACK will ask MySensors devices to respond to commands sent to them which will then update the MySensors device in Home Assistant. Currently, if a default MySensors sketch is used the device will update but Home Assistant does not reflect the update and custom code has to be added to tell Home Assistant the command was received. With the ACK set to 1 in the message all this is taken care of by MySensors.

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • I have followed the [development checklist][dev-checklist]

If user exposed functionality or configuration variables are added/changed:

If the code communicates with devices, web services, or third-party tools:

  • [The manifest file][manifest-docs] has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
  • New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
  • Untested files have been added to .coveragerc.

@homeassistant
Copy link
Copy Markdown
Contributor

Hi @petewill,

It seems you haven't yet signed a CLA. Please do so here.

Once you do that we will be able to review and accept this pull request.

Thanks!

Copy link
Copy Markdown
Member

@MartinHjelmare MartinHjelmare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great!

petewill and others added 2 commits September 25, 2019 22:24
The addition of the ACK will ask sensors to respond to commands sent to them which will update the MySensors device in Home Assistant.
 Currently, if a default MySensors sketch is used the device will update but Home Assistant does not reflect the update and custom code has to be added to tell Home Assistant the command was received.  With the ACK set to 1 in the message all this is taken care of by MySensors.
@MartinHjelmare
Copy link
Copy Markdown
Member

I rebased on latest dev and ran black.

@MartinHjelmare MartinHjelmare merged commit d1b4bd2 into home-assistant:dev Sep 25, 2019
@lock lock Bot locked and limited conversation to collaborators Sep 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants