orb.device.state

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

Fields

field

signature

required

type

default

description               

parent_entry_ref

EntryRef

null

trace_id

str

"-"

sensitive

bool

false

user_id

str

thread_id

str

integration_id

str

context

dict

{}

device_id

str

key

str

value

typing.Any

state

DeviceState

Examples

Data

{
    "type": "meya.orb.event.device.state", 
    "data": {
        "parent_entry_ref": {
            "ledger": "STRING", 
            "id": "STRING", 
            "data": {
                "STRING": "STRING"
            }
        }, 
        "trace_id": "STRING", 
        "sensitive": 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"
    }
}