⚠️ ⚠️ WARNING ABOUT Home Assistant v2022.2
The unifiprotect
integration will be in Home Assistant core v2022.2. If you are running 0.10.x or older of the HACS integration, do not install v2022.2.x of Home Assistant core.
If you are running 0.11.x or the 0.12.0-beta, you should be safe to delete the HACS version as part of your upgrade. The 0.11.x branch is designed to be compatible with the 0.12.0-beta and the HA core version. The latest version of 0.12.0-beta will be the version of unifiprotect
in HA core in v2022.0.
After v2022.2 comes out, this repo will be deprecated in favor of the Home Assistant core version.
NEW
: This release adds support for the UFP Viewport device. This is done by adding theselect
platform, from where the views defined in Unifi Protect can be selected. When changing the selection, the Viewport will change it's current view to the selected item. Theselect
platform will only be setup if UFP Viewports are found in Unfi Protect. When you create a view in Unifi Protect, you must check the box Shared with Others in order to use the view in this integration.
NOTE: This new entity requires a minimum of Home Assistant 2021.7. If you are on an older version, the Integration will still work, but you will get an error during startup.NEW
: As part of the support for the UFP Viewport, there also a new service being created, calledunifiprotect.set_viewport_view
. This service requires two parameters: Theentity_id
of the Viewport and theview_id
of the View you want to set.view_id
is a long string, but you can find the id number when looking at the Attributes for theselect
entity.FIX
: Issue #264, missing image_width variable is fixed in this release.CHANGE
: PR #276, Ensure setup is retried later when device is rebooting. Thanks to @bdracoCHANGE
: PR #271. Updated README, to ensure proper capitalization. Thanks to @jonbloomCHANGE
: PR #278. Allow requesting a custom snapshot width and height, to support 2021.9 release. Thank to @bdraco. Fixing Issue #282