bug readingsname

This commit is contained in:
Marko Oldenburg 2018-06-01 22:33:48 +02:00
parent ea6a0cbd1d
commit ce05f6f2c9

View File

@ -484,8 +484,8 @@ sub NUKIDevice_WriteReadings($$) {
readingsBulkUpdate( $hash, "batteryCritical", $decode_json->{batteryCritical} );
readingsBulkUpdate( $hash, "lockState", $decode_json->{stateName} );
readingsBulkUpdate( $hash, "state", $decode_json->{stateName} );
readingsBulkUpdate( $hash, "stateState", $decode_json->{stateName} );
readingsBulkUpdate( $hash, "battery", $battery );
readingsBulkUpdate( $hash, "batteryState", $battery );
readingsBulkUpdate( $hash, "success", $decode_json->{success} );
readingsBulkUpdate( $hash, "name", $decode_json->{name} );