From 51ce3f863f6dd97a9f2a3974669333f4e1f152f7 Mon Sep 17 00:00:00 2001 From: Hudson Brendon Date: Sun, 10 Sep 2023 05:31:31 +0000 Subject: [PATCH] fix: fixes the component to work with home assistant version 2023.9 --- custom_components/drivvo/sensor.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/custom_components/drivvo/sensor.py b/custom_components/drivvo/sensor.py index 715d42f..d1224e2 100755 --- a/custom_components/drivvo/sensor.py +++ b/custom_components/drivvo/sensor.py @@ -126,10 +126,10 @@ def __init__(self, hass, email, password, data, interval): self._attr_device_info = DeviceInfo( entry_type=dr.DeviceEntryType.SERVICE, identifiers={(DOMAIN, data.id)}, - default_manufacturer="Drivvo", name=data.identification, - default_model=self._model, - configuration_url="https://web.drivvo.com/", + manufacturer="Drivvo", + model=self._model, + sw_version="1.0.8", ) self.data = data