<<: !include common.yaml

openthread:
  device_type: MTD
  force_dataset: false
  use_address: open-thread-test.local
  tlv: 0e080000000000010000000300001035060004001fffe00208e227ac6a7f24052f0708fdb753eb517cb4d3051062b2442a928d9ea3b947a1618fc4085a030f4f70656e5468726561642d393837330102987304105330d857354330133c05e1fd7ae81a910c0402a0f7f8
  poll_period: 5s

switch:
  - platform: template
    name: "Radio Always On"
    optimistic: true
    restore_mode: ALWAYS_OFF
    turn_on_action:
      then:
        - openthread.set_poll_period: 0s
    turn_off_action:
      then:
        - openthread.set_poll_period: 5s
