Blebox for sauna control?

Hi everyone,

I’m trying to set up a sauna control system using the following devices:

  • 1x BleBox ThermoBox:
    • climate.sauna1_thermobox_thermostat (SAUNA)
      • Modes: off, heat
      • Temperature range: 40–95°C
      • Current temperature: 20.1°C
      • Friendly name: SAUNA
  • 2x BleBox SwitchBox DC:
    • switch.sauna2_switchbox_0_relay_0 (SAUNA2)
    • switch.sauna3_switchbox_0_relay_0 (SAUNA3)

Goals:

  1. Modes and Relays:
  • Mode 1: Turška (45–50°C): Uses ThermoBox (climate.sauna1_thermobox_thermostat).
  • Mode 2: Infra (45–65°C): Activates Relay 2 (switch.sauna2_switchbox_0_relay_0).
  • Mode 3: Finska (80–95°C): Activates Relay 3 (switch.sauna3_switchbox_0_relay_0).
  1. Functionality:
  • Selecting a mode from the dropdown should:
    • Activate the corresponding relay.
    • Set the thermostat temperature (climate.sauna1_thermobox_thermostat) to the correct range.
  • A timer should run for 1 hour after the mode starts, then turn off the sauna.
  • After turning off, a cooldown timer should start before the system can be reactivated.

Issue:

I’m using Home Assistant and struggling to:

  1. Get the input select menu to control the relays and thermostat.
  2. Implement timers for the active and cooldown phases.

Each relay works fine when controlled directly, but the automation doesn’t function as intended with the mode selector.

Request:

I’d appreciate any guidance or examples for:

  • Automations for mode selection and relay control.
  • Timer implementation for the active and cooldown phases.

Thanks in advance for any help!