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

entity_category not applied to entity #960

Open
blakadder opened this issue Dec 26, 2022 · 3 comments
Open

entity_category not applied to entity #960

blakadder opened this issue Dec 26, 2022 · 3 comments
Labels
bug Something isn't working fixed bug fixed

Comments

@blakadder
Copy link
Contributor

Editing device_customizes.py I've tried adding an entity_category to certain entities but that field is never applied. The entity applies other attributes like unit_of_measurement or device_class

configurations tried:

    'viomi.vacuum.v18:clean_use_time': {
        'value_ratio': 0.0166667,
        'device_class': 'duration',
        'entity_category': 'diagnostic',
},
    'viomi.vacuum.v18:repeat_state': {
        'entity_category': 'config',
    },

neither entity_category config works

@al-one al-one added the bug Something isn't working label Dec 30, 2022
al-one added a commit that referenced this issue Dec 30, 2022
@al-one al-one added the fixed bug fixed label Dec 30, 2022
@al-one
Copy link
Owner

al-one commented Dec 30, 2022

Fixed in master branch.

@blakadder
Copy link
Contributor Author

Still does not happen for devices in device_customisations.py. I only get the battery percentage in the diagnostic group despite setting multiple entities in custom

al-one added a commit that referenced this issue Jan 18, 2023
@al-one
Copy link
Owner

al-one commented Jan 18, 2023

Fixed in 582fd22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed bug fixed
Projects
None yet
Development

No branches or pull requests

2 participants