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"> <h5 class="fa">
<?php <?php
//echo $AUTOMATIONDATA['ifSomething']; //echo $AUTOMATIONDATA['ifSomething'];
switch ($AUTOMATIONDATA['ifSomething']) { $ifCode = json_decode($AUTOMATIONDATA['ifSomething']);
switch ($ifCode->type) {
case 'sunSet': case 'sunSet':
echo'&#xf186'; echo'&#xf186';
break; break;