Add group attribute to Homematic IP Cloud (#26618)
* Add group attribute to Homematic IP Cloud * Fix docstring
This commit is contained in:
1 parent
a71cd6e90e
commit
1d3f2d20d2
4 files changed
+10
-7
No files matched your search
@@ -12,6 +12,7 @@ _LOGGER = logging.getLogger(__name__)
|
||||
|
||||
ATTR_MODEL_TYPE = "model_type"
|
||||
ATTR_ID = "id"
|
||||
ATTR_IS_GROUP = "is_group"
|
||||
# RSSI HAP -> Device
|
||||
ATTR_RSSI_DEVICE = "rssi_device"
|
||||
# RSSI Device -> HAP
|
||||
@@ -131,4 +132,6 @@ class HomematicipGenericDevice(Entity):
|
||||
if attr_value:
|
||||
state_attr[attr_key] = attr_value
|
||||
|
||||
state_attr[ATTR_IS_GROUP] = False
|
||||
|
||||
return state_attr
|
||||
Reference in new issue
Block a user