From 06e8d3e8991e3611c1fabd0eb5658d3bf7fd57cf Mon Sep 17 00:00:00 2001 From: Christopher Bailey Date: Mon, 3 Jan 2022 18:42:58 -0500 Subject: [PATCH] Add UniFi Protect select platform (#21007) Co-authored-by: J. Nick Koston --- source/_integrations/unifiprotect.markdown | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/_integrations/unifiprotect.markdown b/source/_integrations/unifiprotect.markdown index 41fe3c640ac..51ef9f93f26 100644 --- a/source/_integrations/unifiprotect.markdown +++ b/source/_integrations/unifiprotect.markdown @@ -8,6 +8,7 @@ ha_category: - Light - Media Player - Number + - Select - Switch ha_release: 2022.2 ha_iot_class: Local Push @@ -24,6 +25,7 @@ ha_platforms: - light - media_player - number + - select - switch --- @@ -136,6 +138,7 @@ Each UniFi Protect smart sensor will get the following entities added: Each UniFi Protect viewport will get the following entities added: +* **Liveview Select** - A select control will be added for each viewport device that will allow you to select which liveview is being displayed on the viewport. * **Button** - A disabled by default button entity is added for each viewport device. The button will let you reboot your viewport device. * **Switch** - A disabled by default switch entity will be added to let you toggle on and off SSH for your viewport. Username is `ubnt` and password is your Device Password as configured in UniFi Protect. @@ -161,3 +164,7 @@ The default settings on the stream integration will give you a 5-15+ second dela ### Cannot Play Audio to Speakers Unlike with many other things, playing audio to your speakers requires your Home Assistant to be able to reach your camera directly. Specifically via port `tcp/7004`. You can [enable debug logging](#enabling-debug-logging) and it will output the full FFmpeg command that will be run and the output from FFmpeg to help you troubleshoot why audio is not playing to the device. + +### Liveview Options for Viewport Missing Options or Out of Date + +Main control selects currently cannot have dynamic options since the options are exported out to voice assistants. After you add/remove/change a Liveview in UniFi Protect, you must restart Home Assistant to get the new options for your Viewport.