Skip to content

Restore battery_quantity for zha devices#23320

Merged
andrewsayre merged 1 commit intohome-assistant:devfrom
vigonotion:patch-1
Apr 26, 2019
Merged

Restore battery_quantity for zha devices#23320
andrewsayre merged 1 commit intohome-assistant:devfrom
vigonotion:patch-1

Conversation

@vigonotion
Copy link
Copy Markdown
Contributor

@vigonotion vigonotion commented Apr 23, 2019

Description:

The battery_quantity didn't survive a restart of home assistant. Now it will get the cached values just like e. g. battery_size.

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.

@ghost ghost assigned Adminiuga and dmulcahey Apr 23, 2019
@ghost
Copy link
Copy Markdown

ghost commented Apr 23, 2019

Hey there @dmulcahey, @Adminiuga, mind taking a look at this pull request as its been labeled with a integration (zha) you are listed as a codeowner for? Thanks!

This is a automatic comment generated by codeowners-mention to help ensure issues and pull requests are seen by the right people.

@fabaff fabaff changed the title restore battery_quantity for zha devices Restore battery_quantity for zha devices Apr 24, 2019
@andrewsayre andrewsayre merged commit eefb940 into home-assistant:dev Apr 26, 2019
@balloob balloob mentioned this pull request May 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed integration: zha small-pr PRs with less than 30 lines.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants