- id: intercom-button alias: '[Intercom] Button' mode: single trigger: - platform: state entity_id: input_boolean.intercom_button to: "on" action: - service: switch.toggle target: entity_id: switch.intercom_button - service: input_boolean.turn_off target: entity_id: input_boolean.intercom_button