72_TA_CMI_JSON: added attribute 'model'
git-svn-id: https://svn.fhem.de/fhem/trunk@20097 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -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.
|
||||||
|
- change: 72_TA_CMI_JSON: adding model attribute
|
||||||
- feature: 93_DbLog: attr global logdir is considered by set exportCache
|
- feature: 93_DbLog: attr global logdir is considered by set exportCache
|
||||||
- change: 76_SMAInverter: STP10.0-3AV-40 298 type included
|
- change: 76_SMAInverter: STP10.0-3AV-40 298 type included
|
||||||
- bugfix: 73_AutoShuttersControl: fix little bugs, change control logic
|
- bugfix: 73_AutoShuttersControl: fix little bugs, change control logic
|
||||||
|
|||||||
@@ -174,6 +174,7 @@ sub TA_CMI_JSON_ParseHttpResponse {
|
|||||||
|
|
||||||
my $canDevice = TA_CMI_JSON_extractDeviceName($keyValues->{Header_Device});
|
my $canDevice = TA_CMI_JSON_extractDeviceName($keyValues->{Header_Device});
|
||||||
$hash->{CAN_DEVICE} = $canDevice;
|
$hash->{CAN_DEVICE} = $canDevice;
|
||||||
|
$hash->{model} = $canDevice;
|
||||||
$hash->{CMI_API_VERSION} = TA_CMI_JSON_extractVersion($keyValues->{Header_Version});
|
$hash->{CMI_API_VERSION} = TA_CMI_JSON_extractVersion($keyValues->{Header_Version});
|
||||||
CommandDeleteReading(undef, "$name error");
|
CommandDeleteReading(undef, "$name error");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user