Describe the bug
When starting the addon, log shows WARNING: 2023-06-03 11:23:09.031345: main: An error occured while logging in. Please make sure you have selected the right LEAF_TYPE, LEAF_USERNAME and LEAF_PASSWORD. even though I've confirmed login credentials are indeed accurate. Log output below.
LEAF_TYPE
Newer Than May 2019
Expected behavior
Expected successful login.
WARNING: 2023-06-03 11:30:14.815534: main: An error occured while logging in. Please make sure you have selected the right > > LEAF_TYPE, LEAF_USERNAME and LEAF_PASSWORD. Retrying in 5 seconds.
FINE: 2023-06-03 11:30:14.816528: main: NoSuchMethodError: The method '[]' was called on null.
Receiver: null
Tried calling: []("realm"
FINE: 2023-06-03 11:30:14.817724: main: #0 Object.noSuchMethod (dart:core-patch/object_patch.dart:38)
Describe the bug When starting the addon, log shows
WARNING: 2023-06-03 11:23:09.031345: main: An error occured while logging in. Please make sure you have selected the right LEAF_TYPE, LEAF_USERNAME and LEAF_PASSWORD.
even though I've confirmed login credentials are indeed accurate. Log output below.LEAF_TYPE Newer Than May 2019
Expected behavior Expected successful login.
WARNING: 2023-06-03 11:30:14.815534: main: An error occured while logging in. Please make sure you have selected the right > > LEAF_TYPE, LEAF_USERNAME and LEAF_PASSWORD. Retrying in 5 seconds. FINE: 2023-06-03 11:30:14.816528: main: NoSuchMethodError: The method '[]' was called on null. Receiver: null Tried calling: []("realm" FINE: 2023-06-03 11:30:14.817724: main: #0 Object.noSuchMethod (dart:core-patch/object_patch.dart:38)
1 _objectNoSuchMethod (dart:core-patch/object_patch.dart:85)
2 NissanConnectSession.login (package:dartnissanconnect/src/nissanconnect_session.dart:299)
asynchronous suspension>
3 NissanConnectSessionWrapper.login (file:///app/src/leaf/nissan_connect_wrapper.dart:21)
asynchronous suspension>
4 _login (file:///app/src/leaf_2_mqtt.dart:87)
asynchronous suspension>
5 main (file:///app/src/leaf_2_mqtt.dart:63)