diff --git a/scripts/31.pc-button.yaml b/scripts/31.pc-button.yaml index b1b8374..882c875 100644 --- a/scripts/31.pc-button.yaml +++ b/scripts/31.pc-button.yaml @@ -6,7 +6,7 @@ pc_pwr_button: entity_id: switch.pc_power_button - delay: milliseconds: 100 - - service: switch.turn_on + - service: switch.turn_off target: entity_id: switch.pc_power_button @@ -17,7 +17,7 @@ pc_pwr_button_hold: target: entity_id: switch.pc_power_button - delay: - milliseconds: 100 - - service: switch.turn_on + seconds: 5 + - service: switch.turn_off target: entity_id: switch.pc_power_button