2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-07 23:09:26 +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:
justme-1968 2019-01-16 13:07:08 +00:00
parent ad65aa8bcb
commit 4c28802d28

View File

@ -1381,6 +1381,10 @@ alexa_Attr($$$)
} elsif( $attrName eq 'alexaFHEM-log' ) {
if( $cmd eq "set" && $attrVal && $attrVal ne 'FHEM' ) {
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 {
fhem( "delete alexaFHEMlog" );
}