Lutron Pico configuration example

Here is a simple example of how to trigger some service calls from Pico button state:

- alias: Office Pico
  initial_state: True
  hide_entity: False
  trigger:
    - platform: state
      entity_id: sensor.foyer_front_pico
      to: '2'
  action:
    - service: switch.turn_off
      entity_id: switch.office_hepa_switch
    - service: script.office_motion_timer
1 Like