mirror of
https://github.com/home-assistant/android
synced 2024-10-15 12:32:54 +00:00
Remove unused properties from device/entity registry response (#2130)
- This should fix issues users are seeing where deserialization fails because of an unexpected property type in the response
This commit is contained in:
parent
b78c01d18b
commit
cb88b659d3
|
@ -2,17 +2,5 @@ package io.homeassistant.companion.android.common.data.websocket.impl.entities
|
|||
|
||||
data class DeviceRegistryResponse(
|
||||
val areaId: String?,
|
||||
val configurationUrl: String?,
|
||||
val configEntries: List<String>,
|
||||
val connections: List<List<String>>,
|
||||
val disabledBy: String?,
|
||||
val entryType: String?,
|
||||
val id: String,
|
||||
val identifiers: List<List<String>>,
|
||||
val manufacturer: String?,
|
||||
val model: String?,
|
||||
val nameByUser: String?,
|
||||
val name: String?,
|
||||
val swVersion: String?,
|
||||
val viaDeviceId: String?
|
||||
val id: String
|
||||
)
|
||||
|
|
|
@ -2,12 +2,6 @@ package io.homeassistant.companion.android.common.data.websocket.impl.entities
|
|||
|
||||
data class EntityRegistryResponse(
|
||||
val areaId: String?,
|
||||
val configEntryId: String?,
|
||||
val deviceId: String?,
|
||||
val disabledBy: String?,
|
||||
val entityCategory: String?,
|
||||
val entityId: String,
|
||||
val icon: String?,
|
||||
val name: String?,
|
||||
val platform: String
|
||||
val entityId: String
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue