Momentary switch without using script

EDIT: Did a test. Switch went off and its not continue.

Hi All,

Great integration. Does someone know what will happen when you have toggle time for 1 hour. And in between the toggle you restart HA. Will the timer still running after restart or do you lost it and switch will turn off automatic because of the restart?

Above solution works, but there is also a custom component in HACS: GitHub - twrecked/hass-momentary: Momentary Switch Component for Home Assistant

Solved my case. Removed group helper from UI and added this to configuration yaml:

switch:
  - platform: group
    name: Momentary Always ON
    all: true
    entities:
      - switch.switch_1
      - switch.switch_2

Bit sucky that I couldnā€™t do this in the UI directly when it looks like it used to be possible. Trying to reduce my manual yaml!

I donā€™t get the ā€œAll entitiesā€ option in the group config. Has defaulted to off, which in my case where I want an always on momentary switch, means I have to switch all the switches in the group off before it gets triggered. Has the group config UI changed? Anyone know if itā€™s possible to set this in the yaml?