Extracts device params from a shadow GET/accepted document. Prefers state.reported.params when present; otherwise state.reported. Always returns an object ({} when absent / non-object).
state.reported.params
state.reported
{}
Extracts device params from a shadow GET/accepted document. Prefers
state.reported.paramswhen present; otherwisestate.reported. Always returns an object ({}when absent / non-object).