2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

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:
delmar 2019-09-03 20:49:17 +00:00
parent 2885e5b858
commit bff8b717e6
2 changed files with 2 additions and 0 deletions

View File

@ -1,5 +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.
- change: 72_TA_CMI_JSON: adding model attribute
- feature: 93_DbLog: attr global logdir is considered by set exportCache
- change: 76_SMAInverter: STP10.0-3AV-40 298 type included
- bugfix: 73_AutoShuttersControl: fix little bugs, change control logic

View File

@ -174,6 +174,7 @@ sub TA_CMI_JSON_ParseHttpResponse {
my $canDevice = TA_CMI_JSON_extractDeviceName($keyValues->{Header_Device});
$hash->{CAN_DEVICE} = $canDevice;
$hash->{model} = $canDevice;
$hash->{CMI_API_VERSION} = TA_CMI_JSON_extractVersion($keyValues->{Header_Version});
CommandDeleteReading(undef, "$name error");