Add group attribute to Homematic IP Cloud (#26618)

* Add group attribute to Homematic IP Cloud

* Fix docstring
This commit is contained in:
SukramJ authored and Martin Hjelmare committed 2019-09-14 07:12:19 +02:00
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