mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
added input_name reading
git-svn-id: https://svn.fhem.de/fhem/trunk@2341 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
9de505c9ca
commit
98beb4000d
@ -142,6 +142,11 @@ YAMAHA_AVR_GetStatus($;$)
|
|||||||
readingsBulkUpdate($hash, "input", YAMAHA_AVR_InputParam2Fhem(lc($1), 0));
|
readingsBulkUpdate($hash, "input", YAMAHA_AVR_InputParam2Fhem(lc($1), 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if($return =~ /<Input>.*?<Title>\s*?(\S+?)\s*?<\/Title>.*<\/Input>/)
|
||||||
|
{
|
||||||
|
readingsBulkUpdate($hash, "input_name", $1);
|
||||||
|
}
|
||||||
|
|
||||||
readingsEndUpdate($hash, 1);
|
readingsEndUpdate($hash, 1);
|
||||||
|
|
||||||
InternalTimer(gettimeofday()+$hash->{helper}{INTERVAL}, "YAMAHA_AVR_GetStatus", $hash, 1) unless($local == 1);
|
InternalTimer(gettimeofday()+$hash->{helper}{INTERVAL}, "YAMAHA_AVR_GetStatus", $hash, 1) unless($local == 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user