Closed th0mas closed 3 years ago
Smart hub is set up to register devices when they first connect, however I've since changed some attributes which has broken this:
2020-08-20T11:23:15.965480+00:00 app[web.1]: 11:23:15.965 [error] an exception was raised: 2020-08-20T11:23:15.965481+00:00 app[web.1]: ** (ArgumentError) argument error 2020-08-20T11:23:15.965482+00:00 app[web.1]: :erlang.apply({:error, #Ecto.Changeset<action: :insert, changes: %{serial: "Toms-MacBook-Pro"}, errors: [feature_flags: {"can't be blank", [validation: :required]}], data: #SmartHomeAuth.Access.Door<>, valid?: false>}, :uuid, [])
I need to revisit the device creation logic
Fixed in 6e2f5d1
Smart hub is set up to register devices when they first connect, however I've since changed some attributes which has broken this:
I need to revisit the device creation logic