mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
70_ONKYO_AVR: fixed attribute model warning for pre2013
git-svn-id: https://svn.fhem.de/fhem/trunk@20992 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
aa26e7fea7
commit
cf186b1fda
@ -1,5 +1,6 @@
|
|||||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
# 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.
|
# Do not insert empty lines here, update check depends on it.
|
||||||
|
- bugfix: 70_ONKYO_AVR: fixed attribute model warning for pre2013
|
||||||
- feature: 70_VIERA: new command display web page on TV's browser
|
- feature: 70_VIERA: new command display web page on TV's browser
|
||||||
web address has to start with https://
|
web address has to start with https://
|
||||||
- feature: 30_HUEBridge, 31_HUEDevice: try to move fhem device to new
|
- feature: 30_HUEBridge, 31_HUEDevice: try to move fhem device to new
|
||||||
|
@ -135,13 +135,8 @@ sub ONKYO_AVR_Define($$$) {
|
|||||||
return "Invalid protocol, choose one of 2013 pre2013";
|
return "Invalid protocol, choose one of 2013 pre2013";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (
|
if ( $hash->{PROTOCOLVERSION} eq "pre2013" ) {
|
||||||
$hash->{PROTOCOLVERSION} eq "pre2013"
|
$hash->{model} = 'pre2013';
|
||||||
&& ( !exists( $attr{$name}{model} )
|
|
||||||
|| $attr{$name}{model} ne $hash->{PROTOCOLVERSION} )
|
|
||||||
)
|
|
||||||
{
|
|
||||||
$attr{$name}{model} = $hash->{PROTOCOLVERSION};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# set default settings on first define
|
# set default settings on first define
|
||||||
|
Loading…
x
Reference in New Issue
Block a user