question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Obtain error: "entity_category must be a valid EntityCategory instance"

See original GitHub issue

Describe the bug When starting Home assistant the following error is received in the bhyve input. It only appears for the switch entity and the sensor entity, it does not appear for bynary-sensor

Logger: homeassistant.components.switch Source: helpers/entity_registry.py:382 Integration: Interruptor (documentation, issues) First occurred: 14:58:10 (2 occurrences) Last logged: 14:58:10

Error adding entities for domain switch with platform bhyve Error while setting up bhyve platform for switch Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 382, in async_add_entities await asyncio.gather(*tasks) File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 514, in _async_add_entity entry = entity_registry.async_get_or_create( File “/usr/src/homeassistant/homeassistant/helpers/entity_registry.py”, line 382, in async_get_or_create raise ValueError(“entity_category must be a valid EntityCategory instance”) ValueError: entity_category must be a valid EntityCategory instance

Logger: homeassistant.components.sensor Source: helpers/entity_registry.py:382 Integration: Sensor (documentation, issues) First occurred: 14:58:10 (2 occurrences) Last logged: 14:58:10

Error adding entities for domain sensor with platform bhyve Error while setting up bhyve platform for sensor Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 382, in async_add_entities await asyncio.gather(*tasks) File “/usr/src/homeassistant/homeassistant/helpers/entity_platform.py”, line 514, in _async_add_entity entry = entity_registry.async_get_or_create( File “/usr/src/homeassistant/homeassistant/helpers/entity_registry.py”, line 382, in async_get_or_create raise ValueError(“entity_category must be a valid EntityCategory instance”) ValueError: entity_category must be a valid EntityCategory instance

BHyve devices Orbit 94550 Programador de riego WiFi 12 Estaciones con Tapa B-Hyve - Control Desde el teléfono Mediante App - 12 Zonas de riego. https://www.amazon.es/gp/product/B07254NJC3/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

Logs

DEBUG (MainThread) [custom_components.bhyve] Devices:
DEBUG (MainThread) [custom_components.bhyve] Programs:

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jgarbayocommented, May 13, 2022

Yes, thankyou very much, now works with no errors. Grat itegration! MAny thanks!

0reactions
sebrcommented, May 11, 2022

I released 2.2.3, hopefully this works?

Read more comments on GitHub >

github_iconTop Results From Across the Web

entity_category must be a valid EntityCategory instance in ...
This error pop up after updating to latest 2022.4.0 Logger: homeassistant.components.switch Source: helpers/entity_registry.py:529 ...
Read more >
Vaillant/MultiMATIC integration - #379 by PX80 - Development ...
Error adding entities for domain sensor with platform multimatic ValueError: entity_category must be a valid EntityCategory instance.
Read more >
error on override akeneo entity - php - Stack Overflow
I follow the doc but always have an error i can't resolve. added this in config.yml - original: Pim\Bundle\CatalogBundle\Entity\Category ...
Read more >
Home Assistant integration and python library - Page 38
I have zero experience with setting up HA or using python and have spent hours getting it installed along with .ssh and hacs...
Read more >
https://docs.openstack.org/vitrage/ocata/_sources/...
"or" - indicates at least one expression must be satisfied in order for the ... implications on the instances definitions: entities: - entity:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found