2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

70_ENIGMA2: use ReadingsVal()

git-svn-id: https://svn.fhem.de/fhem/trunk@10456 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
jpawlowski 2016-01-11 00:04:25 +00:00
parent f62f7228dd
commit 566581b876

View File

@ -225,9 +225,9 @@ sub ENIGMA2_Set($@) {
$usage .= " mute:on,off"
if ( ReadingsVal( $name, "mute", "-" ) ne "-" );
$usage .= " input:-,tv,radio"
if ( ReadingsVal( $name, "input", "-" ) eq "-" );
if ( $input eq "-" );
$usage .= " input:tv,radio"
if ( ReadingsVal( $name, "input", "-" ) ne "-" );
if ( $input ne "-" );
if ($adminMode) {
$usage .= " reboot:noArg";