Home

From Hegemon Wiki
Jump to navigation Jump to search

ZHA Remote IR Blaster Example

service: zha.issue_zigbee_cluster_command
data:
  cluster_type: in
  ieee: 00:17:88:01:0c:4a:97:05
  endpoint_id: 11
  cluster_id: 768
  command: 10
  command_type: server
  params:
    color_temp_mireds: 200
    transition_time: 20
event_type: zha_event
data:
  device_ieee: e0:79:8d:ff:fe:9c:16:cd
  unique_id: e0:79:8d:ff:fe:9c:16:cd:1:0x0006
  device_id: 2ff9ce49e5cbf658d23274470523a664
  endpoint_id: 1
  cluster_id: 6
  command: attribute_updated
  args:
    attribute_id: 32772
    attribute_name: switch_mode
    value: 1
  params: {}
origin: LOCAL
time_fired: "2023-10-11T08:29:58.587695+00:00"
context:
  id: 01HCEXPRDVES78FYTRX9FTF284
  parent_id: null
  user_id: null
event_type: state_changed
data:
  entity_id: automation.knob
  old_state:
    entity_id: automation.knob
    state: "on"
    attributes:
      id: "1697005359152"
      last_triggered: "2023-10-11T08:29:31.916385+00:00"
      mode: restart
      current: 1
      friendly_name: knob
    last_changed: "2023-10-11T06:24:28.049278+00:00"
    last_updated: "2023-10-11T08:29:31.916451+00:00"
    context:
      id: 01HCEXNYC5AC8PT3JGBSYX31MS
      parent_id: 01HCEXNYC3WRZNE154ND6Q020K
      user_id: null
  new_state:
    entity_id: automation.knob
    state: "on"
    attributes:
      id: "1697005359152"
      last_triggered: "2023-10-11T08:29:31.916385+00:00"
      mode: restart
      current: 0
      friendly_name: knob
    last_changed: "2023-10-11T06:24:28.049278+00:00"
    last_updated: "2023-10-11T08:29:31.921031+00:00"
    context:
      id: 01HCEXNYC5AC8PT3JGBSYX31MS
      parent_id: 01HCEXNYC3WRZNE154ND6Q020K
      user_id: null
origin: LOCAL
time_fired: "2023-10-11T08:29:31.921031+00:00"
context:
  id: 01HCEXNYC5AC8PT3JGBSYX31MS
  parent_id: 01HCEXNYC3WRZNE154ND6Q020K
  user_id: null