Skip to content

GetDevices API returns an exception, does not support EDGE_CHILD #21

@rboy1

Description

@rboy1

This is also causing SmartThings Terminal to throw an exception while enumerating devices

SmartThingsNet.Client.ApiException
  HResult=0x80131500
  Message=Error converting value "EDGE_CHILD" to type 'SmartThingsNet.Model.DeviceIntegrationType'. Path 'items[0].type', line 1, position 885.
  Source=SmartThingsNet
  StackTrace:
   at SmartThingsNet.Client.CustomJsonCodec.Deserialize(IRestResponse response, Type type) in SmartThingsNet-master\src\Client\ApiClient.cs:line 145
   at SmartThingsNet.Client.CustomJsonCodec.Deserialize[T](IRestResponse response) in SmartThingsNet-master\src\Client\ApiClient.cs:line 86
   at RestSharp.RestClient.Deserialize[T](IRestRequest request, IRestResponse raw)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions