mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-16 04:36:02 +00:00
98_weekprofile: fix reference_profile
git-svn-id: https://svn.fhem.de/fhem/trunk@10563 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e799da3c44
commit
d8bd8e578c
@ -634,13 +634,13 @@ sub weekprofile_Set($$@)
|
||||
|
||||
if ($prfDest){
|
||||
$prfDest->{DATA} = undef;
|
||||
$prfDest->{REF} = "$destTopic:$destName";
|
||||
$prfDest->{REF} = "$srcTopic:$srcName";
|
||||
} else {
|
||||
$prfDest = {};
|
||||
$prfDest->{NAME} = $destName;
|
||||
$prfDest->{DATA} = undef;
|
||||
$prfDest->{TOPIC} = $destTopic;
|
||||
$prfDest->{REF} = "$destTopic:$destName";
|
||||
$prfDest->{REF} = "$srcTopic:$srcName";
|
||||
push @{$hash->{PROFILES}}, $prfDest;
|
||||
}
|
||||
weekprofile_writeProfilesToFile($hash);
|
||||
@ -1037,6 +1037,11 @@ sub weekprofile_getEditLNK_MasterDev($$)
|
||||
<code>set <name> remove_profile <profilname> </code><br>
|
||||
Das Profil 'profilname' wird gelöscht.
|
||||
</li>
|
||||
<li>reference_profile<br>
|
||||
<code>set <name> reference_profile <quelle> <ziel> </code><br>
|
||||
Referenziert das Profil 'ziel'auf 'quelle'. 'ziel' wird überschrieben oder neu angelegt.
|
||||
<b>Noch in Entwicklung !!!</b>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<a name="weekprofileget"></a>
|
||||
@ -1136,6 +1141,11 @@ sub weekprofile_getEditLNK_MasterDev($$)
|
||||
<code>set <name> remove_profile <profilename> </code><br>
|
||||
Delete profile 'profilename'.
|
||||
</li>
|
||||
<li>reference_profile<br>
|
||||
<code>set <name> reference_profile <source> <destination> </code><br>
|
||||
Create a reference from destination to source. The destination will be overwritten if it exits.
|
||||
<b>Still in devolopment!!!</b>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<a name="weekprofileget"></a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user