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

@@ -35,7 +35,7 @@ from homeassistant.const import (
from homeassistant.core import HomeAssistant
from . import DOMAIN as HMIPC_DOMAIN, HMIPC_HAPID, HomematicipGenericDevice
from .device import ATTR_MODEL_TYPE
from .device import ATTR_IS_GROUP, ATTR_MODEL_TYPE
_LOGGER = logging.getLogger(__name__)
@@ -150,8 +150,8 @@ class HomematicipAccesspointStatus(HomematicipGenericDevice):
@property
def device_state_attributes(self):
"""Return the state attributes of the security zone group."""
return {ATTR_MODEL_TYPE: self._device.modelType}
"""Return the state attributes of the access point."""
return {ATTR_MODEL_TYPE: self._device.modelType, ATTR_IS_GROUP: False}
class HomematicipHeatingThermostat(HomematicipGenericDevice):