From a5d3c36ace4a441f3d71b39b1d2415d65b85c101 Mon Sep 17 00:00:00 2001 From: jpawlowski Date: Mon, 10 Oct 2016 07:07:28 +0000 Subject: [PATCH] 74_THINKINGCLEANER.pm: adding webCmd template git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@12309 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/74_THINKINGCLEANER.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/FHEM/74_THINKINGCLEANER.pm b/FHEM/74_THINKINGCLEANER.pm index 5aa812451..247792ab5 100644 --- a/FHEM/74_THINKINGCLEANER.pm +++ b/FHEM/74_THINKINGCLEANER.pm @@ -648,7 +648,8 @@ sub THINKINGCLEANER_Define($$$) { 'on-max:text_max on-spot:refresh on-delayed:time_timer dock:measure_battery_50 locate:rc_SEARCH'; $attr{$name}{devStateIcon} = 'on-delayed:rc_STOP@green:off on-max:rc_BLUE@green:off on-spot:rc_GREEN@red:off on.*:rc_GREEN@green:off dock:rc_GREEN@orange:off off:rc_STOP:on standby|remote:rc_YELLOW:on locate:rc_YELLOW .*:rc_RED'; - $attr{$name}{icon} = 'scene_cleaning'; + $attr{$name}{icon} = 'scene_cleaning'; + $attr{$name}{webCmd} = 'on-max:on-spot:on-delayed:dock:locate'; } if ( THINKINGCLEANER_addExtension( $name, "THINKINGCLEANER_CGI", $infix ) )