From e8d3890723bf73c9acd06685c4e99a0a4d6a55e6 Mon Sep 17 00:00:00 2001 From: Ludeeus Date: Sun, 21 Nov 2021 17:08:12 +0000 Subject: [PATCH] Add configuration_url --- custom_components/hacs/sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/hacs/sensor.py b/custom_components/hacs/sensor.py index 91258eca478..fa53009df58 100644 --- a/custom_components/hacs/sensor.py +++ b/custom_components/hacs/sensor.py @@ -1,7 +1,6 @@ """Sensor platform for HACS.""" from __future__ import annotations from homeassistant.core import callback -from homeassistant.helpers.entity import Entity from homeassistant.components.sensor import SensorEntity from custom_components.hacs.const import DOMAIN, NAME_SHORT @@ -51,6 +50,7 @@ def device_info(self) -> dict[str, any]: "model": "", "sw_version": str(self.hacs.version), "entry_type": "service", + "configuration_url": "homeassistant://hacs", } @callback