orb.device.state

Element details

type: meya.orb.event.device.state
class: StateEvent
path: /meya/orb/event/device/state.py
signature: -

Fields

fielddescription               requiredsignaturedefaulttype
parent_entry_refnullEntryRef
trace_id"-"str
sensitivefalsebool
internalfalsebool
user_idstr
thread_idstr
integration_idstr
context{}
dict
device_idstr
keystr
valuetyping.Any
stateDeviceState

Usage reference

Data

{
    "type": "meya.orb.event.device.state", 
    "data": {
        "parent_entry_ref": {
            "ledger": "STRING", 
            "id": "STRING", 
            "data": {
                "STRING": "STRING"
            }
        }, 
        "trace_id": "STRING", 
        "sensitive": false, 
        "internal": false, 
        "user_id": "STRING", 
        "thread_id": "STRING", 
        "integration_id": "STRING", 
        "context": {
            "STRING": "ANY"
        }, 
        "device_id": "STRING", 
        "key": "STRING", 
        "value": "ANY", 
        "state": "resumed|inactive|paused|detached"
    }
}