Update stookwijzer api to atlas leefomgeving (#103323)

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
This commit is contained in:
fwestenberg 2023-11-28 13:23:51 +01:00 committed by GitHub
parent b8cc3349be
commit 9dc5d4a1bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 17 additions and 16 deletions

View file

@ -29,7 +29,7 @@ async def async_setup_entry(
class StookwijzerSensor(SensorEntity):
"""Defines a Stookwijzer binary sensor."""
_attr_attribution = "Data provided by stookwijzer.nu"
_attr_attribution = "Data provided by atlasleefomgeving.nl"
_attr_device_class = SensorDeviceClass.ENUM
_attr_has_entity_name = True
_attr_name = None
@ -43,9 +43,9 @@ class StookwijzerSensor(SensorEntity):
self._attr_device_info = DeviceInfo(
identifiers={(DOMAIN, f"{entry.entry_id}")},
name="Stookwijzer",
manufacturer="stookwijzer.nu",
manufacturer="Atlas Leefomgeving",
entry_type=DeviceEntryType.SERVICE,
configuration_url="https://www.stookwijzer.nu",
configuration_url="https://www.atlasleefomgeving.nl/stookwijzer",
)
def update(self) -> None: