Fix launcher poke count HA profile
This commit is contained in:
@@ -112,7 +112,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (isset($_GET['pokeCount'])) {
|
if (isset($_GET['pokeCount'])) {
|
||||||
$state = custom_ha_state('main', $config['entities']['poke_count']);
|
$state = custom_ha_state('mokpo', $config['entities']['poke_count']);
|
||||||
$count = $state['state'] ?? null;
|
$count = $state['state'] ?? null;
|
||||||
|
|
||||||
if ($count === null) {
|
if ($count === null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user