From c849d035265fcbd50ddb0cafa17e7d38cd4af74d Mon Sep 17 00:00:00 2001 From: justme1968 Date: Wed, 7 Aug 2013 20:43:17 +0000 Subject: [PATCH] light_question icon for unreachable hue devices git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@3607 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/31_HUEDevice.pm | 2 + fhem/www/images/fhemSVG/light_question.svg | 58 ++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 fhem/www/images/fhemSVG/light_question.svg diff --git a/fhem/FHEM/31_HUEDevice.pm b/fhem/FHEM/31_HUEDevice.pm index 6f96320e5..5f6ad2a1f 100644 --- a/fhem/FHEM/31_HUEDevice.pm +++ b/fhem/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/fhem/www/images/fhemSVG/light_question.svg b/fhem/www/images/fhemSVG/light_question.svg new file mode 100644 index 000000000..924c4756b --- /dev/null +++ b/fhem/www/images/fhemSVG/light_question.svg @@ -0,0 +1,58 @@ + + + + + + +Created by potrace 1.8, written by Peter Selinger 2001-2007 + + + image/svg+xml + + + + + + + + + + + + + + + +