substitutions: hostname: lounge-by-hall friendly_name: Lounge 1 touchpad1_action: toggle_lounge_light touchpad2_action: toggle_lamp touchpad3_action: toggle_dining_light wifi: use_address: 192.168.10.7 packages: device: !include devices/sonoff-t3.yaml script: - id: toggle_lounge_light then: - homeassistant.service: service: homeassistant.toggle data: entity_id: "light.lounge_light_1_bulb" - id: toggle_dining_light then: - homeassistant.service: service: homeassistant.toggle data: entity_id: "light.lounge_light_2_bulb" - id: toggle_lamp then: - homeassistant.service: service: homeassistant.toggle data: entity_id: "light.lounge_lamp_relay"