From 238f6e47d58bff041a0e6420ea0c53c49104bb9a Mon Sep 17 00:00:00 2001 From: justme-1968 Date: Wed, 7 Aug 2013 20:43:17 +0000 Subject: [PATCH] light_question icon for unreachable hue devices git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3607 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/31_HUEDevice.pm | 2 + www/images/fhemSVG/light_question.svg | 58 +++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 www/images/fhemSVG/light_question.svg diff --git a/FHEM/31_HUEDevice.pm b/FHEM/31_HUEDevice.pm index 6f96320e5..5f6ad2a1f 100644 --- a/FHEM/31_HUEDevice.pm +++ b/FHEM/31_HUEDevice.pm @@ -79,6 +79,8 @@ HUEDevice_devStateIcon($) my $name = $hash->{NAME}; + return ".*:light_question" if( !$hash->{fhem}{reachable} && AttrVal($name, "color-icons", 0) != 0 ); + return undef if( ReadingsVal($name,"state","off") eq "off" || ReadingsVal($name,"bri","0") eq 0 ); diff --git a/www/images/fhemSVG/light_question.svg b/www/images/fhemSVG/light_question.svg new file mode 100644 index 000000000..924c4756b --- /dev/null +++ b/www/images/fhemSVG/light_question.svg @@ -0,0 +1,58 @@ + + + + + + +Created by potrace 1.8, written by Peter Selinger 2001-2007 + + + image/svg+xml + + + + + + + + + + + + + + + +