From c40b02896af86fec5dc4597874abc0c86a0027c2 Mon Sep 17 00:00:00 2001 From: starkillerOG Date: Sat, 18 Dec 2021 14:45:53 +0100 Subject: [PATCH] Hyperion add entity category (#62268) --- homeassistant/components/hyperion/switch.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/hyperion/switch.py b/homeassistant/components/hyperion/switch.py index 1c884cca908..6cc90af3c4d 100644 --- a/homeassistant/components/hyperion/switch.py +++ b/homeassistant/components/hyperion/switch.py @@ -31,7 +31,7 @@ from homeassistant.helpers.dispatcher import ( async_dispatcher_connect, async_dispatcher_send, ) -from homeassistant.helpers.entity import DeviceInfo +from homeassistant.helpers.entity import DeviceInfo, EntityCategory from homeassistant.helpers.entity_platform import AddEntitiesCallback from homeassistant.util import slugify @@ -127,6 +127,8 @@ async def async_setup_entry( class HyperionComponentSwitch(SwitchEntity): """ComponentBinarySwitch switch class.""" + _attr_entity_category = EntityCategory.CONFIG + def __init__( self, server_id: str,