fix crash when NewMotion does not know the EVSEID

This commit is contained in:
Johan von Forstner
2020-05-14 18:41:31 +02:00
parent 4b1a3c424f
commit eccd29b368

View File

@@ -40,7 +40,7 @@ interface NewMotionApi {
)
@JsonClass(generateAdapter = true)
data class NMEvse(val evseId: String, val status: String, val connectors: List<NMConnector>)
data class NMEvse(val evseId: String?, val status: String, val connectors: List<NMConnector>)
@JsonClass(generateAdapter = true)
data class NMConnector(