blueprint: name: AirCon Off description: Turn off Air Condition domain: script input: power: name: Power description: Aircon Smart Power Plug selector: entity: domain: switch off_scene: name: Off Scene description: Off scene of Aircon selector: entity: domain: scene alias: AirCon sequence: - if: - condition: state entity_id: !input power state: 'on' then: - service: scene.turn_on target: entity_id: !input off_scene - delay: hours: 0 minutes: 0 seconds: 5 milliseconds: 0 - service: switch.turn_off target: entity_id: !input power mode: single