Obtain error: "entity_category must be a valid EntityCategory instance"
See original GitHub issueDescribe 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:
- Created a year ago
- Comments:10 (3 by maintainers)
Top GitHub Comments
Yes, thankyou very much, now works with no errors. Grat itegration! MAny thanks!
I released
2.2.3
, hopefully this works?