Closed coreywillwhat closed 4 months ago
Describe the bug Charging Mode is reporting a state of unsupported and this is being displayed as the HA Entity state.
Charging Mode
unsupported
Expected behavior Unsupported should be return as None and sensor should not be available in HA.
None
Screenshots
Logfile
2024-04-16 05:52:28.613 DEBUG (MainThread) [custom_components.audiconnect.audi_models] Entering _tryAppendStateWithTs with name: chargingMode, tsoff: -1, loc: ['charging', 'chargingStatus', 'value', 'chargeType'] 2024-04-16 05:52:28.613 DEBUG (MainThread) [custom_components.audiconnect.audi_models] Initial value retrieved for 'chargingMode': unsupported 2024-04-16 05:52:28.613 DEBUG (MainThread) [custom_components.audiconnect.audi_models] Updated loc for timestamp retrieval: ['charging', 'chargingStatus', 'value', 'carCapturedTimestamp'] 2024-04-16 05:52:28.613 DEBUG (MainThread) [custom_components.audiconnect.audi_models] Timestamp retrieved for 'chargingMode': 2024-04-16 05:56:46+00:00 2024-04-16 05:52:28.613 DEBUG (MainThread) [custom_components.audiconnect.audi_models] Found and appended state with timestamp: name=chargingMode, tsoff=-1, loc=['charging', 'chargingStatus', 'value', 'carCapturedTimestamp'], val=unsupported, ts=2024-04-16 05:56:46+00:00
Describe the bug
Charging Mode
is reporting a state ofunsupported
and this is being displayed as the HA Entity state.Expected behavior Unsupported should be return as
None
and sensor should not be available in HA.Screenshots
Logfile