Skip to content

Commit

Permalink
Add configuration_url (#2306)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed Nov 21, 2021
1 parent 3af538d commit 5813c48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/hacs/sensor.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5813c48

Please sign in to comment.