Update google-nest-sdm to 3.0.2 (#99175)

* Update google-nest-sdm to 3.0.2

* Fix device typing

* Update homeassistant/components/nest/device_info.py

Co-authored-by: jan iversen <jancasacondor@gmail.com>

---------

Co-authored-by: jan iversen <jancasacondor@gmail.com>
This commit is contained in:
Allen Porter 2023-08-31 20:33:36 -07:00 committed by GitHub
parent 2dab9eaf86
commit 1539853c0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 10 additions and 8 deletions

View file

@ -69,7 +69,7 @@ class NestDeviceInfo:
# The API intentionally returns minimal information about specific
# devices, instead relying on traits, but we can infer a generic model
# name based on the type
return DEVICE_TYPE_MAP.get(self._device.type)
return DEVICE_TYPE_MAP.get(self._device.type or "", None)
@property
def suggested_area(self) -> str | None: