mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 04:36:36 +00:00
71_YAMAHA_NP: Added model attribute
git-svn-id: https://svn.fhem.de/fhem/trunk@11077 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
fb1582a3f5
commit
f8e20ec41a
@ -1,5 +1,7 @@
|
||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||
# Do not insert empty lines here, update check depends on it.
|
||||
- feature 71_PHILIPS_AUDIO Added model attribute
|
||||
- feature 71_YAMAHA_NP Added model attribute
|
||||
- feature 71_YAMAHA_NP: Smooth volume change added. General code cleanup
|
||||
- change: 49_SSCAM: routine "initonboot" changed
|
||||
- bugfix: 49_SSCAM: default recordtime 15 s is used if attribute "rectime"
|
||||
|
@ -368,6 +368,9 @@ sub PHILIPS_AUDIO_Define
|
||||
if(defined($a[2]))
|
||||
{
|
||||
$hash->{MODEL} = $a[2];
|
||||
|
||||
# Used by 'fheminfo' command for statistics
|
||||
$attr{$name}{"model"} = $hash->{MODEL};
|
||||
}
|
||||
|
||||
$hash->{IP_ADDRESS} = $a[3];
|
||||
|
@ -23,7 +23,7 @@
|
||||
# Some features may be unavailable.
|
||||
# (Online check for new firmware was excluded intentionally.)
|
||||
#
|
||||
# Copyright by Radoslaw Watroba (ra666ack @ t 9 m @ 1 l d 0 t c 0 m)
|
||||
# Copyright by Radoslaw Watroba (ra666ack a t 9 m a 1 l d 0 t c 0 m)
|
||||
#
|
||||
# This file is part of fhem.
|
||||
#
|
||||
@ -1090,9 +1090,10 @@ sub YAMAHA_NP_ParseResponse
|
||||
$hash->{helper}{VOLUMESTRAIGHTMIN} = $4;
|
||||
$hash->{helper}{VOLUMESTRAIGHTMAX} = $5;
|
||||
$hash->{helper}{VOLUMESTRAIGHTSTEP} = $6;
|
||||
}
|
||||
|
||||
#$attr{$name}{"model"} = $hash->{MODEL};
|
||||
|
||||
# Used by 'fheminfo' command for statistics
|
||||
$attr{$name}{"model"} = $hash->{MODEL};
|
||||
}
|
||||
}
|
||||
elsif($arg eq "getInputs")
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user