diff --git a/custom_components/reolink_rest/__version__.py b/custom_components/reolink_rest/__version__.py index 2f74843..c40d234 100644 --- a/custom_components/reolink_rest/__version__.py +++ b/custom_components/reolink_rest/__version__.py @@ -1,3 +1,3 @@ """version""" -__version__ = "0.6.6" +__version__ = "0.6.7" diff --git a/custom_components/reolink_rest/entity.py b/custom_components/reolink_rest/entity.py index 1a0dce7..38c9df5 100644 --- a/custom_components/reolink_rest/entity.py +++ b/custom_components/reolink_rest/entity.py @@ -214,13 +214,13 @@ def update_zf_range(self, value: ptz._ZoomFocusRange | None): def update_presets(self, value: Mapping[int, ptz.Preset]): """update presets""" - if value is not None and not isinstance(value, Mapping[int, ptz.Preset]): + if value is not None and not isinstance(value, Mapping): raise TypeError("Invalid value") self._presets = value def update_patrols(self, value: Mapping[int, ptz.Patrol]): """update presets""" - if value is not None and not isinstance(value, Mapping[int, ptz.Patrol]): + if value is not None and not isinstance(value, Mapping): raise TypeError("Invalid value") self._patrol = value diff --git a/custom_components/reolink_rest/manifest.json b/custom_components/reolink_rest/manifest.json index 4ea3545..5d6185a 100644 --- a/custom_components/reolink_rest/manifest.json +++ b/custom_components/reolink_rest/manifest.json @@ -3,7 +3,7 @@ "name": "Reolink IP Device", "documentation": "https://github.com/xannor/ha_reolink_rest", "issue_tracker": "https://github.com/xannor/ha_reolink_rest/issues", - "version": "0.6.6", + "version": "0.6.7", "iot_class": "local_polling", "requirements": ["async-reolink.rest==0.6.6"], "dependencies": ["camera"],