Add configuration URL to Spider (#59171)

This commit is contained in:
Peter Nijssen
2021-11-05 19:11:30 +01:00
committed by GitHub
parent 2d48f4b65e
commit d384feb87f
2 changed files with 2 additions and 0 deletions
@@ -50,6 +50,7 @@ class SpiderThermostat(ClimateEntity):
def device_info(self) -> DeviceInfo:
"""Return the device_info of the device."""
return DeviceInfo(
configuration_url="https://mijn.ithodaalderop.nl/",
identifiers={(DOMAIN, self.thermostat.id)},
manufacturer=self.thermostat.manufacturer,
model=self.thermostat.model,
@@ -28,6 +28,7 @@ class SpiderPowerPlug(SwitchEntity):
def device_info(self) -> DeviceInfo:
"""Return the device_info of the device."""
return DeviceInfo(
configuration_url="https://mijn.ithodaalderop.nl/",
identifiers={(DOMAIN, self.power_plug.id)},
manufacturer=self.power_plug.manufacturer,
model=self.power_plug.model,