-
This commit is contained in:
parent
1e599fe221
commit
4b4551b4be
@ -308,7 +308,13 @@ function app_supervisor_ingress_url(): string
|
||||
|
||||
$ingressUrl = trim((string)($response['ingress_url'] ?? ''));
|
||||
if ($ingressUrl === '') {
|
||||
app_log('Supervisor returned empty ingress_url');
|
||||
$webui = trim((string)($response['webui'] ?? ''));
|
||||
if ($webui !== '') {
|
||||
$ingressUrl = $webui;
|
||||
app_log('Supervisor returned empty ingress_url, falling back to webui');
|
||||
} else {
|
||||
app_log('Supervisor returned empty ingress_url');
|
||||
}
|
||||
}
|
||||
|
||||
return $ingressUrl;
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"active": false,
|
||||
"sensor_entity_id": "binary_sensor.barn_all_occupancy",
|
||||
"opened_at": 1774442799,
|
||||
"expires_at": null
|
||||
"active": true,
|
||||
"sensor_entity_id": "binary_sensor.doorbell_all_occupancy",
|
||||
"opened_at": 1774443085,
|
||||
"expires_at": 1774443122
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
name: Wall Panel
|
||||
description: Wall Panel PHP interface as a Home Assistant add-on
|
||||
version: "1.0.16"
|
||||
version: "1.0.18"
|
||||
slug: wall_panel
|
||||
url: https://git.striker72rus.ru/PHP/wallpanell.git
|
||||
init: false
|
||||
@ -12,6 +12,7 @@ arch:
|
||||
- i386
|
||||
startup: services
|
||||
ingress: true
|
||||
ingress_panel: true
|
||||
ingress_port: 8099
|
||||
panel_title: Wall Panel
|
||||
panel_icon: mdi:view-dashboard
|
||||
|
||||
@ -298,7 +298,13 @@ function app_supervisor_ingress_url(): string
|
||||
|
||||
$ingressUrl = trim((string)($response['ingress_url'] ?? ''));
|
||||
if ($ingressUrl === '') {
|
||||
app_log('Supervisor returned empty ingress_url');
|
||||
$webui = trim((string)($response['webui'] ?? ''));
|
||||
if ($webui !== '') {
|
||||
$ingressUrl = $webui;
|
||||
app_log('Supervisor returned empty ingress_url, falling back to webui');
|
||||
} else {
|
||||
app_log('Supervisor returned empty ingress_url');
|
||||
}
|
||||
}
|
||||
|
||||
return $ingressUrl;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user