mirror of
https://git.steelants.cz/SH/PHP_SMART_HOME_V3.git
synced 2026-10-11 17:54:34 +00:00
Some minor changes of Automation system
This commit is contained in:
1 parent
aa8235c1bf
commit
b1e19dd64d
12 files changed
+106
-64
No files matched your search
@@ -35,10 +35,8 @@
|
||||
<div class="col-md-9 main-body">
|
||||
<div class="label m-1">
|
||||
doma jsou:
|
||||
<?php
|
||||
$keyWords = ['entered', 'connected', 'connected to'];
|
||||
foreach ($USERS as $user) {
|
||||
if (in_array(trim($user['at_home']), $keyWords)) {
|
||||
<?php foreach ($USERS as $user) {
|
||||
if ($user['at_home'] == 'true') {
|
||||
echo $user['username'] . ' ';
|
||||
}
|
||||
} ?>
|
||||
|
||||
Reference in new issue
Block a user