Skip to content

Commit

Permalink
bugfix hack for e_s_attrs{ctl_id}
Browse files Browse the repository at this point in the history
  • Loading branch information
zxdavb committed Jun 28, 2022
1 parent 22b1cf5 commit 415c595
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion custom_components/ramses_cc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,8 @@ def extra_state_attributes(self) -> Dict[str, Any]:
for a in self._entity_state_attrs
if hasattr(self._device, a)
}
attrs["controller_id"] = self._device.ctl.id if self._device.ctl else None
# TODO: use self._device._parent?
# attrs["controller_id"] = self._device.ctl.id if self._device.ctl else None
return attrs

async def async_added_to_hass(self) -> None:
Expand Down

0 comments on commit 415c595

Please sign in to comment.