2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

fixing missing input_name reading

git-svn-id: https://svn.fhem.de/fhem/trunk@2362 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markusbloch 2012-12-25 18:28:13 +00:00
parent a7204158a5
commit 5e87d45795

View File

@ -142,7 +142,7 @@ YAMAHA_AVR_GetStatus($;$)
readingsBulkUpdate($hash, "input", YAMAHA_AVR_InputParam2Fhem(lc($1), 0));
}
if($return =~ /<Input>.*?<Title>\s*?(\S+?)\s*?<\/Title>.*<\/Input>/)
if($return =~ /<Input>.*?<Title>\s*(.+?)\s*<\/Title>.*<\/Input>/)
{
readingsBulkUpdate($hash, "input_name", $1);
}