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

scene command can be used when the device is powered off

git-svn-id: https://svn.fhem.de/fhem/trunk@3267 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markusbloch 2013-06-09 14:30:36 +00:00
parent 936b36aaf2
commit aada07f1c1

View File

@ -293,8 +293,7 @@ YAMAHA_AVR_Set($@)
{
if(defined($a[2]))
{
if($hash->{STATE} eq "on")
{
if(not $scenes_piped eq "")
{
if($a[2] =~ /^($scenes_piped)$/)
@ -324,11 +323,6 @@ YAMAHA_AVR_Set($@)
{
return "No scenes are avaible. Please try an statusUpdate.";
}
}
else
{
return "scene can only be used when device is powered on";
}
}
else
{