Files
2025-07-01 23:34:56 -07:00
..
2024-09-27 13:57:01 -07:00
2024-09-27 13:57:01 -07:00

demo component to show how to include various other components in a top-level component. This method is not recommended.

A configured uart is required.

Example:

uart_demo2:
  - id: demo
    uart_id: demo_uart
    the_text:
      id: the_text
    the_sensor:
      id: the_sensor
    the_bin_output:
      id: the_bin_out
    the_flt_output:
      id: the_flt_out
    the_binsensor:
      id: the_binsensor
    the_switch:
      id: the_switch
    the_button:
      id: the_button

light:
  - platform: binary
    name: Binary Light
    output: the_bin_out
  - platform: monochromatic
    name: Float Light
    output: the_flt_out

interval:
  - interval: 10s
    then:
      - switch.toggle: the_switch
      - button.press: the_button