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

Removes unwanted tradfri battery sensor #28181

Merged
merged 1 commit into from Oct 24, 2019
Merged

Removes unwanted tradfri battery sensor #28181

merged 1 commit into from Oct 24, 2019

Conversation

ludeeus
Copy link
Member

@ludeeus ludeeus commented Oct 24, 2019

Breaking Change:

This removes the battery sensor that was created for the signal repeater.
The sensor would never have a state, and after some inspection, it does not look like that device present any valuable metrics.

Description:

Adds a condition so signal repeaters are not added as battery sensors.

Version bump of the pyradfri lib will happen in #28180 if that is not accepted I will update this PR with it before removing the draft status.

Related issue (if applicable): fixes #27923

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

@project-bot project-bot bot added this to Needs review in Dev Oct 24, 2019
@probot-home-assistant probot-home-assistant bot added integration: tradfri small-pr PRs with less than 30 lines. labels Oct 24, 2019
@probot-home-assistant
Copy link

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

@ggravlingen
Copy link
Contributor

Filtering like this has worked before so it looks OK

Dev automation moved this from Needs review to Reviewer approved Oct 24, 2019
@ludeeus ludeeus marked this pull request as ready for review October 24, 2019 20:39
@cgtobi cgtobi merged commit 67cf7c2 into home-assistant:dev Oct 24, 2019
Dev automation moved this from Reviewer approved to Done Oct 24, 2019
@lock lock bot locked and limited conversation to collaborators Oct 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Dev
  
Done
Development

Successfully merging this pull request may close these issues.

TRADFRI Signal Repeater have wrong "device_class"
5 participants