From 5b4bfdee7dcb1cb55a5db94c7890fca2bcf6f85f Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 4 May 2022 16:03:10 -0400 Subject: [PATCH] Make as service since its a group --- homeassistant/components/lutron_caseta/binary_sensor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/homeassistant/components/lutron_caseta/binary_sensor.py b/homeassistant/components/lutron_caseta/binary_sensor.py index aff19bdc71c..352d2213d91 100644 --- a/homeassistant/components/lutron_caseta/binary_sensor.py +++ b/homeassistant/components/lutron_caseta/binary_sensor.py @@ -8,6 +8,7 @@ from homeassistant.components.binary_sensor import ( from homeassistant.config_entries import ConfigEntry from homeassistant.const import ATTR_SUGGESTED_AREA from homeassistant.core import HomeAssistant +from homeassistant.helpers.device_registry import DeviceEntryType from homeassistant.helpers.entity import DeviceInfo from homeassistant.helpers.entity_platform import AddEntitiesCallback @@ -51,6 +52,7 @@ class LutronOccupancySensor(LutronCasetaDevice, BinarySensorEntity): name=self.name, via_device=(CASETA_DOMAIN, self._bridge_device["serial"]), configuration_url=CONFIG_URL, + entry_type=DeviceEntryType.SERVICE, ) area, _ = _area_and_name_from_name(device["name"]) if area != UNASSIGNED_AREA: