Add menu option to go to Frigate UI.

This commit is contained in:
Dermot Duffy
2021-08-13 22:37:36 -07:00
parent 93443a8241
commit 9655c67250
+9
View File
@@ -447,6 +447,15 @@ export class FrigateCard extends LitElement {
this._showMenu = false;
}}
></ha-icon-button>
<ha-icon-button
class="button"
icon = "mdi:web"
data-toggle="tooltip" title="View Frigate UI"
@click=${() => {
window.open(this.config.frigate_url);
this._showMenu = false;
}}
></ha-icon-button>
${!motionIcon ? html`` : html`
<ha-icon-button
data-toggle="tooltip" title="View motion sensor"