mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-16 01:56:19 +00:00
set default values in the devices models instead of late, and fixed issues in the AC bloc
This commit is contained in:
@ -23,9 +23,9 @@ class CeilingSensorModel {
|
||||
required this.bodyMovement});
|
||||
|
||||
factory CeilingSensorModel.fromJson(List<StatusModel> jsonList) {
|
||||
late String _presenceState;
|
||||
late int _sensitivity;
|
||||
late String _checkingResult;
|
||||
String _presenceState = 'none';
|
||||
int _sensitivity = 1;
|
||||
String _checkingResult = '';
|
||||
int _presenceRange = 1;
|
||||
int _sportsPara = 1;
|
||||
int _moving_max_dis = 0;
|
||||
|
Reference in New Issue
Block a user