mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
floorplan: fixed status-values for IT devices
git-svn-id: https://svn.fhem.de/fhem/trunk@8752 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
de0ed6de6c
commit
ec66c2cbd8
@ -49,6 +49,7 @@
|
|||||||
# 0038: added arrange by drag&drop provided by Markus (mluckey), added longpollfilter (nesges),
|
# 0038: added arrange by drag&drop provided by Markus (mluckey), added longpollfilter (nesges),
|
||||||
# added processing of global userattr fp_<name> and their value per device for rename, copy, delete (Jan 31, 2015)
|
# added processing of global userattr fp_<name> and their value per device for rename, copy, delete (Jan 31, 2015)
|
||||||
# 0039: added style 8 for commands-popup provided by André (justme68) (Feb 17, 2015)
|
# 0039: added style 8 for commands-popup provided by André (justme68) (Feb 17, 2015)
|
||||||
|
# 0040: fixed "no commands for IT devices", drag&drop won't switch device-status anymore (June 15, 2015)
|
||||||
#
|
#
|
||||||
################################################################
|
################################################################
|
||||||
#
|
#
|
||||||
@ -672,6 +673,9 @@ FP_show(){
|
|||||||
no strict "refs";
|
no strict "refs";
|
||||||
$htmlTxt = &{$data{webCmdFn}{$fn}}($FW_ME,
|
$htmlTxt = &{$data{webCmdFn}{$fn}}($FW_ME,
|
||||||
$d, $FW_room, $cmd, $values);
|
$d, $FW_room, $cmd, $values);
|
||||||
|
if ($htmlTxt eq '') {
|
||||||
|
$FW_ME = $oldMe;
|
||||||
|
}
|
||||||
use strict "refs";
|
use strict "refs";
|
||||||
last if(defined($htmlTxt));
|
last if(defined($htmlTxt));
|
||||||
}
|
}
|
||||||
@ -684,7 +688,7 @@ FP_show(){
|
|||||||
$h .= "<p><a href='$FW_ME$FW_subdir?$link$FW_CSRF'>$cmd</a></p>";
|
$h .= "<p><a href='$FW_ME$FW_subdir?$link$FW_CSRF'>$cmd</a></p>";
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if(defined($htmlTxt)) {
|
if(defined($htmlTxt && $htmlTxt ne '')) {
|
||||||
$htmlTxt =~ s/>desired-temp/>/; #for FHT
|
$htmlTxt =~ s/>desired-temp/>/; #for FHT
|
||||||
$htmlTxt =~ s/>desiredTemperature/>/; #for MAX!
|
$htmlTxt =~ s/>desiredTemperature/>/; #for MAX!
|
||||||
FW_pO $htmlTxt;
|
FW_pO $htmlTxt;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user