Skip to content

Commit

Permalink
Fix data provider
Browse files Browse the repository at this point in the history
  • Loading branch information
MelleD committed Sep 9, 2024
1 parent 8ae4563 commit 73b748a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions custom_components/radar_warnings/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def _update(self) -> None:
ATTR_LONGITUDE: poi[ATTR_LONGITUDE],
ATTR_UNIT_OF_MEASUREMENT: UnitOfLength.KILOMETERS,
ATTR_ICON: "mdi:cctv",
ATTR_ATTRIBUTION: "Data provided by Radar warnings"
ATTR_ATTRIBUTION: "Data provided by cdn2.atudo.net/maps.googleapis.com"
}

LOGGER.debug(f"Update new_attributes {new_attributes}")
Expand All @@ -142,7 +142,7 @@ class RadarWarningsSensor(
):
"""Representation of a Radar Warnings sensor."""

_attr_attribution = "Data provided by Radar warnings"
_attr_attribution = "Data provided by cdn2.atudo.net/maps.googleapis.com"

def __init__(
self,
Expand Down Expand Up @@ -186,7 +186,7 @@ def available(self) -> bool:
class RadarMapWarningsSensor(SensorEntity):
"""Representation of a Radar Warnings sensor."""

_attr_attribution = "Data provided by Radar warnings"
_attr_attribution = "Data provided by cdn2.atudo.net/maps.googleapis.com"
_attr_should_poll = False
_unrecorded_attributes = frozenset(
{
Expand Down

0 comments on commit 73b748a

Please sign in to comment.