Set entity_category for node status sensor (#58434)

This commit is contained in:
Raman Gupta 2021-10-25 17:54:13 -04:00 committed by GitHub
parent fbdd445999
commit b71773fd1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 19 deletions

View file

@ -456,7 +456,7 @@ class ZWaveNodeStatusSensor(SensorEntity):
"""Representation of a node status sensor."""
_attr_should_poll = False
_attr_entity_registry_enabled_default = False
_attr_entity_category = ENTITY_CATEGORY_DIAGNOSTIC
def __init__(
self, config_entry: ConfigEntry, client: ZwaveClient, node: ZwaveNode