Ensure hunterdouglas_powerview model type is a string (#54299)

This commit is contained in:
J. Nick Koston
2021-08-09 14:03:55 -05:00
committed by GitHub
parent f37b164d60
commit 8eff0e9312

View File

@@ -71,7 +71,7 @@ class ShadeEntity(HDEntity):
"name": self._shade_name,
"suggested_area": self._room_name,
"manufacturer": MANUFACTURER,
"model": self._shade.raw_data[ATTR_TYPE],
"model": str(self._shade.raw_data[ATTR_TYPE]),
"via_device": (DOMAIN, self._device_info[DEVICE_SERIAL_NUMBER]),
}