-
This commit is contained in:
parent
a25f7a26f2
commit
eb1ae161ff
@ -307,6 +307,14 @@ function app_supervisor_ingress_url(): string
|
|||||||
}
|
}
|
||||||
|
|
||||||
$ingressUrl = trim((string)($response['ingress_url'] ?? ''));
|
$ingressUrl = trim((string)($response['ingress_url'] ?? ''));
|
||||||
|
if ($ingressUrl === '') {
|
||||||
|
$ingressEntry = trim((string)($response['ingress_entry'] ?? ''));
|
||||||
|
if ($ingressEntry !== '') {
|
||||||
|
$ingressUrl = $ingressEntry;
|
||||||
|
app_log('Supervisor returned empty ingress_url, using ingress_entry');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if ($ingressUrl === '') {
|
if ($ingressUrl === '') {
|
||||||
$webui = trim((string)($response['webui'] ?? ''));
|
$webui = trim((string)($response['webui'] ?? ''));
|
||||||
if ($webui !== '') {
|
if ($webui !== '') {
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"active": false,
|
"active": true,
|
||||||
"sensor_entity_id": "binary_sensor.doorbell_all_occupancy",
|
"sensor_entity_id": "binary_sensor.doorbell_all_occupancy",
|
||||||
"opened_at": 1774443085,
|
"opened_at": 1774443242,
|
||||||
"expires_at": null
|
"expires_at": null
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
name: Wall Panel
|
name: Wall Panel
|
||||||
description: Wall Panel PHP interface as a Home Assistant add-on
|
description: Wall Panel PHP interface as a Home Assistant add-on
|
||||||
version: "1.0.19"
|
version: "1.0.20"
|
||||||
slug: wall_panel
|
slug: wall_panel
|
||||||
url: https://git.striker72rus.ru/PHP/wallpanell.git
|
url: https://git.striker72rus.ru/PHP/wallpanell.git
|
||||||
init: false
|
init: false
|
||||||
|
|||||||
@ -297,6 +297,14 @@ function app_supervisor_ingress_url(): string
|
|||||||
}
|
}
|
||||||
|
|
||||||
$ingressUrl = trim((string)($response['ingress_url'] ?? ''));
|
$ingressUrl = trim((string)($response['ingress_url'] ?? ''));
|
||||||
|
if ($ingressUrl === '') {
|
||||||
|
$ingressEntry = trim((string)($response['ingress_entry'] ?? ''));
|
||||||
|
if ($ingressEntry !== '') {
|
||||||
|
$ingressUrl = $ingressEntry;
|
||||||
|
app_log('Supervisor returned empty ingress_url, using ingress_entry');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if ($ingressUrl === '') {
|
if ($ingressUrl === '') {
|
||||||
$webui = trim((string)($response['webui'] ?? ''));
|
$webui = trim((string)($response['webui'] ?? ''));
|
||||||
if ($webui !== '') {
|
if ($webui !== '') {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user