Automation Icon fix

This commit is contained in:
JonatanRek 2019-10-08 18:30:44 +02:00
parent 9ae039a4b5
commit 517a5863ce

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;