diff --git a/custom_components/hubitat/device.py b/custom_components/hubitat/device.py index fff8a8e..36ceef4 100644 --- a/custom_components/hubitat/device.py +++ b/custom_components/hubitat/device.py @@ -399,6 +399,10 @@ async def update_device_registry(self) -> None: dreg.async_get_or_create(config_entry_id=entry.entry_id, **self.device_info) _LOGGER.debug("Created device for %s", self) + def __repr__(self) -> str: + """Return the representation.""" + return f"" + def get_hub(hass: HomeAssistant, entry_id: str) -> Hub: """Get the Hub device associated with a given config entry."""