mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-13 17:26:34 +00:00
git-svn-id: https://svn.fhem.de/fhem/trunk@3163 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
f9e2152340
commit
b5999e072f
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
# YAF - Yet Another Floorplan
|
# YAF - Yet Another Floorplan
|
||||||
# FHEM Projektgruppe Hochschule Karlsruhe, 2013
|
# FHEM Projektgruppe Hochschule Karlsruhe, 2013
|
||||||
# Markus Mangei, Daniel Weisensee
|
# Markus Mangei, Daniel Weisensee, Prof. Dr. Peter A. Henning
|
||||||
#
|
#
|
||||||
########################################################################################
|
########################################################################################
|
||||||
#
|
#
|
||||||
@ -23,4 +23,11 @@
|
|||||||
#
|
#
|
||||||
########################################################################################
|
########################################################################################
|
||||||
|
|
||||||
Please notice the installation guide included in the documentation.
|
Please notice the installation guide included in the documentation.
|
||||||
|
|
||||||
|
Bitte beachten Sie die beiliegende Anleitung
|
||||||
|
|
||||||
|
WESENTLICHE ÄNDERUNGEN in YAF 0.41
|
||||||
|
|
||||||
|
- Das Attribut "attribute" in der Konfigurationsdatei wurde in "fhemname" umbenannt. Bitte
|
||||||
|
bei schon bestehenden Installationen von YAF manuell ändern
|
@ -176,7 +176,7 @@ sub fs20easylamp_get_addwidget_setup_html() {
|
|||||||
sub fs20easylamp_get_addwidget_prepare_attributes() {
|
sub fs20easylamp_get_addwidget_prepare_attributes() {
|
||||||
my $output = '
|
my $output = '
|
||||||
var temp_array = new Array();
|
var temp_array = new Array();
|
||||||
temp_array[0] = "attribute";
|
temp_array[0] = "fhemname";
|
||||||
temp_array[1] = $("#combobox option:selected").val()
|
temp_array[1] = $("#combobox option:selected").val()
|
||||||
attributes_array[0] = temp_array;
|
attributes_array[0] = temp_array;
|
||||||
';
|
';
|
||||||
@ -205,7 +205,7 @@ sub fs20easylamp_getwidget_html() {
|
|||||||
########################################################################################
|
########################################################################################
|
||||||
|
|
||||||
sub fs20easylamp_get_lamp_status () {
|
sub fs20easylamp_get_lamp_status () {
|
||||||
my $attribute = YAF_getWidgetAttribute($_GET{"view_id"}, $_GET{"widget_id"}, "attribute");
|
my $attribute = YAF_getWidgetAttribute($_GET{"view_id"}, $_GET{"widget_id"}, "fhemname");
|
||||||
my $d = $defs{$attribute};
|
my $d = $defs{$attribute};
|
||||||
return $d->{STATE};
|
return $d->{STATE};
|
||||||
}
|
}
|
||||||
@ -219,7 +219,7 @@ sub fs20easylamp_get_lamp_status () {
|
|||||||
########################################################################################
|
########################################################################################
|
||||||
|
|
||||||
sub fs20easylamp_set_lamp_status() {
|
sub fs20easylamp_set_lamp_status() {
|
||||||
my $attribute = YAF_getWidgetAttribute($_GET{"view_id"}, $_GET{"widget_id"}, "attribute");
|
my $attribute = YAF_getWidgetAttribute($_GET{"view_id"}, $_GET{"widget_id"}, "fhemname");
|
||||||
my $d = $defs{$attribute};
|
my $d = $defs{$attribute};
|
||||||
Log 3, "set ".$d->{NAME}." ".$_GET{"status"};
|
Log 3, "set ".$d->{NAME}." ".$_GET{"status"};
|
||||||
fhem "set ".$d->{NAME}." ".$_GET{"status"};
|
fhem "set ".$d->{NAME}." ".$_GET{"status"};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user