Ensure hunterdouglas_powerview model type is a string (#54299)

pull/54355/head
J. Nick Koston 2021-08-09 14:03:55 -05:00 committed by GitHub
parent f37b164d60
commit 8eff0e9312
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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]),
}