############################################################################### # $Id$ package main; use strict; use warnings; use Data::Dumper; use Time::Local; require RESIDENTStk; our (@RESIDENTStk_attr); # initialize ################################################################## sub GUEST_Initialize($) { my ($hash) = @_; $hash->{InitDevFn} = "RESIDENTStk_InitializeDev"; $hash->{DefFn} = "RESIDENTStk_Define"; $hash->{UndefFn} = "RESIDENTStk_Undefine"; $hash->{SetFn} = "RESIDENTStk_Set"; $hash->{AttrFn} = "RESIDENTStk_Attr"; $hash->{NotifyFn} = "RESIDENTStk_Notify"; $hash->{AttrPrefix} = "rg_"; $hash->{AttrList} = "disable:1,0 disabledForIntervals do_not_notify:1,0 " . "rg_states:multiple-strict,home,gotosleep,asleep,awoken,absent,none " . $readingFnAttributes; foreach (@RESIDENTStk_attr) { $hash->{AttrList} .= " " . $hash->{AttrPrefix} . $_; } return FHEM::Meta::Load( __FILE__, $hash ); } 1; =pod =item helper =item summary special virtual device to represent a guest of your home =item summary_DE spezielles virtuelles Device, welches einen Gast zu Hause repräsentiert =begin html

GUEST

=end html =begin html_DE

GUEST

=end html_DE =cut