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

Add device class for Update Available #9844

Closed

Conversation

robertalexa
Copy link
Contributor

As per title.

This is the link to the documentation for Binary Sensor which shows support for device class update
https://www.home-assistant.io/integrations/binary_sensor/

This will change the entity from :
image

To something like this one:
image

@robertalexa
Copy link
Contributor Author

Koen, the tests are failing with or without my change, I think this must have been introduced by something else?

@sonarcloud
Copy link

sonarcloud bot commented Nov 25, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
50.0% 50.0% Duplication

@Koenkk
Copy link
Owner

Koenkk commented Nov 25, 2021

Fixed the tests, thanks!

@Koenkk Koenkk changed the base branch from master to dev November 25, 2021 20:58
@Koenkk
Copy link
Owner

Koenkk commented Nov 25, 2021

I just see that this has already been done in the dev branch so this is not needed anymore:

device_class: 'update',

@Koenkk Koenkk closed this Nov 25, 2021
@robertalexa
Copy link
Contributor Author

Oh i didn't realise this, my bad. Thank for looking into this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants