From 12b692287518087143def2668ab27a6ef374dbd1 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Thu, 14 Oct 2021 23:17:40 -0700 Subject: [PATCH] Add entity category to cloud (#57747) --- homeassistant/components/cloud/binary_sensor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/homeassistant/components/cloud/binary_sensor.py b/homeassistant/components/cloud/binary_sensor.py index f96bda4ce1b..a27364c715f 100644 --- a/homeassistant/components/cloud/binary_sensor.py +++ b/homeassistant/components/cloud/binary_sensor.py @@ -5,6 +5,7 @@ from homeassistant.components.binary_sensor import ( DEVICE_CLASS_CONNECTIVITY, BinarySensorEntity, ) +from homeassistant.const import ENTITY_CATEGORY_DIAGNOSTIC from homeassistant.helpers.dispatcher import async_dispatcher_connect from .const import DISPATCHER_REMOTE_UPDATE, DOMAIN @@ -28,6 +29,7 @@ class CloudRemoteBinary(BinarySensorEntity): _attr_device_class = DEVICE_CLASS_CONNECTIVITY _attr_should_poll = False _attr_unique_id = "cloud-remote-ui-connectivity" + _attr_entity_category = ENTITY_CATEGORY_DIAGNOSTIC def __init__(self, cloud): """Initialize the binary sensor."""