mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-23 08:36:24 +00:00
70_BRAVIA.pm: removed unnecessary internals name, generation, model
git-svn-id: https://svn.fhem.de/fhem/trunk@17844 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
5da85f48e6
commit
2a2076ba4a
@ -1,8 +1,6 @@
|
||||
# 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: 49_SSCam: V7.4.0, new set command createReadingsGroup, change set
|
||||
snap to avoid insufficiency get snapinfo if camera
|
||||
are very similar in SVS
|
||||
- bugfix: 70_BRAVIA: removed unnecessary internals name, generation, model
|
||||
- bugfix: 74_XiaomiBTLESens: fix humidity bug
|
||||
- bugfix: 88_HMCCU: Some minor bugs fixed
|
||||
- bugfix: 42_XiaomiBTLESens: bugfix humidity reading
|
||||
|
@ -678,12 +678,6 @@ sub BRAVIA_Define($$) {
|
||||
|
||||
$hash->{helper}{HEADER} = 'X-CERS-DEVICE-ID: fhem_remote';
|
||||
|
||||
$hash->{name} = ReadingsVal($name, "name", "");
|
||||
|
||||
$hash->{model} = ReadingsVal($name, "model", "");
|
||||
|
||||
$hash->{generation} = ReadingsVal($name, "generation", "");
|
||||
|
||||
unless ( defined( AttrVal( $name, "webCmd", undef ) ) ) {
|
||||
$attr{$name}{webCmd} = 'volume:channelUp:channelDown';
|
||||
}
|
||||
@ -1318,9 +1312,6 @@ sub BRAVIA_ProcessCommandData ($$) {
|
||||
readingsBulkUpdate( $hash, "country", $sysInfo->{region} );
|
||||
readingsBulkUpdate( $hash, "model", $sysInfo->{model} );
|
||||
readingsBulkUpdate( $hash, "macAddr", $sysInfo->{macAddr} );
|
||||
$hash->{name} = $sysInfo->{name};
|
||||
$hash->{model} = $sysInfo->{model};
|
||||
$hash->{generation} = $sysInfo->{generation};
|
||||
} else {
|
||||
readingsBulkUpdate( $hash, "name", $return->{name} );
|
||||
readingsBulkUpdate( $hash, "generation", $return->{generation} );
|
||||
@ -1328,9 +1319,6 @@ sub BRAVIA_ProcessCommandData ($$) {
|
||||
readingsBulkUpdate( $hash, "language", $return->{language} );
|
||||
readingsBulkUpdate( $hash, "country", $return->{country} );
|
||||
readingsBulkUpdate( $hash, "model", $return->{modelName} );
|
||||
$hash->{name} = $return->{name};
|
||||
$hash->{model} = $return->{modelName};
|
||||
$hash->{generation} = $return->{generation};
|
||||
}
|
||||
readingsEndUpdate( $hash, 1 );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user