Setup - configuration calendar

Hi,
I’m new to HA (just switched from OpenHab) but i try to make an automation rule that starts at a fixed time (5 day’s a week). but if i try to set this up i get an error.


it seems that i didn’t do my configuration very well
what did i wrong?

i missing: Entities !!! but what is this and how can i configure them for a calendar?

You have no calendar set, so it can’t appear. You will need to set for example a Google calendar for that.

Try with this new HA function, which does not need any external calendar:

:wink:

Nice, i can create a schedule. but how can i use this as a “trigger” or “condition” in the automation?
image

Hi all,

I’m just moved from OpenHab 3 to HomeAssistant. For the heating of my house I use InfraRed Panels per room and switch then on/of via Z-Wave WallPlugs devices.

What I wanted to do is the following:

Switch them of/on based on a schedule

If the schedule is “on” the "generic_thermostat” should regulate the temperature based on the virtual thermostat. and there is a delay to prevent that all IR-heaters switch on at the same time.

Is wanted to do this via automation as you see below.

But it doesn’t work, meaning that the “generic_thermostat” doesn’t switch off if the schedule is in the state “off”

What could be wrong?

alias: Kantoor_IR-Heater_UIT
description: volgens schema en vertraging 13 seconden
trigger:
  - platform: state
    entity_id:
      - schedule.kantoor_ir_heater_schedule
    from: "on"
    to: "off"
condition: []
action:
  - delay:
      hours: 0
      minutes: 0
      seconds: 13
      milliseconds: 0
  - type: turn_off
    device_id: a9a2960c8c3cef190737b367f5610c35
    entity_id: switch.metered_wall_plug_switch_3
    domain: switch
  - service: climate.set_hvac_mode
    data:
      hvac_mode: "off"
    target:
      area_id: kantoor
mode: single

in the Configuration.yaml i created:

# temp regelingen per ruimte
# Kantoor
climate:
  - platform: generic_thermostat
    name: Kantoor IR-Heater control
    heater: switch.metered_wall_plug_switch_3
    target_sensor: sensor.multisensor_6_air_temperature_3
    min_temp: 15
    max_temp: 22
    ac_mode: false
    target_temp: 17
    cold_tolerance: 0.3
    hot_tolerance: 0.3
    min_cycle_duration:
      seconds: 5
    keep_alive:
      minutes: 3
    initial_hvac_mode: "off"
    away_temp: 16
    precision: 0.1

I found the solution and as so often it was “simple”.
i forgot the “entry_id”

alias: Kantoor_IR-Heater_UIT
description: Schakel de kantoor thermostaat UIT volgens schema
trigger:
  - platform: state
    entity_id:
      - schedule.kantoor_ir_heater_schedule
    from: "on"
    to: "off"
condition: []
action:
  - delay:
      hours: 0
      minutes: 0
      seconds: 13
      milliseconds: 0
  - service: climate.set_hvac_mode
    target:
      entity_id: climate.kantoor_ir_heater_control
    data:
      hvac_mode: "off"
mode: single