mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-12 13:52:00 +00:00
39_alexa.pm: hide alexaFHEMlog device
git-svn-id: https://svn.fhem.de/fhem/trunk@18280 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ad65aa8bcb
commit
4c28802d28
@ -1381,6 +1381,10 @@ alexa_Attr($$$)
|
|||||||
} elsif( $attrName eq 'alexaFHEM-log' ) {
|
} elsif( $attrName eq 'alexaFHEM-log' ) {
|
||||||
if( $cmd eq "set" && $attrVal && $attrVal ne 'FHEM' ) {
|
if( $cmd eq "set" && $attrVal && $attrVal ne 'FHEM' ) {
|
||||||
fhem( "defmod -temporary alexaFHEMlog FileLog $attrVal fakelog" );
|
fhem( "defmod -temporary alexaFHEMlog FileLog $attrVal fakelog" );
|
||||||
|
CommandAttr( undef, "alexaFHEMlog room hidden" );
|
||||||
|
#if( my $room = AttrVal($name, "room", undef ) ) {
|
||||||
|
# CommandAttr( undef,"alexaFHEMlog room $room" );
|
||||||
|
#}
|
||||||
} else {
|
} else {
|
||||||
fhem( "delete alexaFHEMlog" );
|
fhem( "delete alexaFHEMlog" );
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user