From a69416521e89ffb73a14b6be223ecd0d06f13d1c Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sun, 24 Oct 2021 22:21:20 -0700 Subject: [PATCH] Add entity category to MyQ (#58377) Co-authored-by: J. Nick Koston --- homeassistant/components/myq/binary_sensor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/homeassistant/components/myq/binary_sensor.py b/homeassistant/components/myq/binary_sensor.py index 9f2d766fcc4..2cb35d351c4 100644 --- a/homeassistant/components/myq/binary_sensor.py +++ b/homeassistant/components/myq/binary_sensor.py @@ -3,6 +3,7 @@ from homeassistant.components.binary_sensor import ( DEVICE_CLASS_CONNECTIVITY, BinarySensorEntity, ) +from homeassistant.const import ENTITY_CATEGORY_DIAGNOSTIC from . import MyQEntity from .const import DOMAIN, MYQ_COORDINATOR, MYQ_GATEWAY @@ -26,6 +27,7 @@ class MyQBinarySensorEntity(MyQEntity, BinarySensorEntity): """Representation of a MyQ gateway.""" _attr_device_class = DEVICE_CLASS_CONNECTIVITY + _attr_entity_category = ENTITY_CATEGORY_DIAGNOSTIC @property def name(self):