This commit is contained in:
Striker72rus 2026-03-25 15:54:07 +03:00
parent a25f7a26f2
commit eb1ae161ff
4 changed files with 19 additions and 3 deletions

View File

@ -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 !== '') {

View File

@ -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
} }

View File

@ -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

View File

@ -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 !== '') {