This commit is contained in:
unknown 2019-10-08 19:00:05 +02:00
commit 1b76e1907d

View File

@ -6,7 +6,8 @@
<h5 class="fa">
<?php
//echo $AUTOMATIONDATA['ifSomething'];
switch ($AUTOMATIONDATA['ifSomething']) {
$ifCode = json_decode($AUTOMATIONDATA['ifSomething']);
switch ($ifCode->type) {
case 'sunSet':
echo'&#xf186';
break;