- id: '1584370618810'
  alias: learn IR code
  description: ''
  trigger:
  - entity_id: input_boolean.learn_ir_code
    from: 'off'
    platform: state
    to: 'on'
  condition: []
  action:
  - data:
      host: 10.0.0.106
    service: broadlink.learn