Shabbos Mode

  1. Exception for Pesakh (not battle tested though!):
- id: '1609504988970'
  alias: Shabos/Yom Tov (besides Pesach) Seuda 1 Turn Plata On
  description: Turn the plata on on Shabos/Yom Tov (besides Pesach) before Seuda 1
  trigger:
  - event: sunset
    offset: 00:10
    platform: sun
  condition:
  - condition: and
    conditions:
    - condition: state
      entity_id: binary_sensor.jewish_calendar_issur_melacha_in_effect
      state: 'on'
    - condition: template
      value_template: '{{ not is_state_attr(''sensor.jewish_calendar_holiday'', ''ID'',
        ''pesach'') }}'
  action:
  - data: {}
    entity_id: switch.plata
    service: switch.turn_on
  mode: single

And then on Pesakh:

- id: '1616769675672'
  alias: Pesakh Seuda 1 Turn Plata On
  description: Turn the plata on on Pesakh before Seuda 1
  trigger:
  - event: sunset
    offset: 01:00
    platform: sun
  condition:
  - condition: state
    entity_id: sensor.jewish_calendar_holiday
    state: pesach
    attribute: id
  action:
  - data: {}
    entity_id: switch.plata
    service: switch.turn_on
  mode: single
- id: '1616770064061'
  alias: Pesakh Seuda 1 Turn Plata Off
  description: Turn the plata off on Pesakh after Seuda 1
  trigger:
  - event: sunset
    offset: 04:00
    platform: sun
  condition:
  - condition: state
    entity_id: sensor.jewish_calendar_holiday
    state: pesach
    attribute: id
  action:
  - data: {}
    entity_id: switch.plata
    service: switch.turn_off
  mode: single