diff --git a/fhem/FHEM/39_alexa.pm b/fhem/FHEM/39_alexa.pm index 8dac70490..13e70dd47 100644 --- a/fhem/FHEM/39_alexa.pm +++ b/fhem/FHEM/39_alexa.pm @@ -138,6 +138,7 @@ alexa_Define($$) addToAttrList("$hash->{TYPE}Name"); addToAttrList("$hash->{TYPE}Room"); + addToAttrList("$hash->{TYPE}ProactiveEvents:1,0"); alexa_AttrDefaults($hash); @@ -395,7 +396,7 @@ alexa_configDefault($;$) $conf->{connections} = [{}] if( !$conf->{connections} ); $conf->{connections}[0]->{name} = 'FHEM' if( !$conf->{connections}[0]->{name} ); $conf->{connections}[0]->{server} = $ip if( !$conf->{connections}[0]->{server} ); - $conf->{connections}[0]->{report} = JSON::false if( !$conf->{connections}[0]->{report} ); + #$conf->{connections}[0]->{proactiveEvents} = JSON::false if( !$conf->{connections}[0]->{proactiveEvents} ); $conf->{connections}[0]->{filter} = 'alexaName=..*' if( !$conf->{connections}[0]->{filter} ); $conf->{connections}[0]->{uid} = $< if( $conf->{sshproxy} ); @@ -1304,6 +1305,12 @@ alexa_Attr($$$)