Help with aut. that trigger bollean input

hi
why this automation does not change the state of the input boolean (last lines) even when i’m trying to trigger it manually the input boolean state does not change to on

alias: hot - B -trigger
description: when it becomes to hot
trigger:
  - platform: state
    entity_id: sensor.shir_realfeel_temperature
    to: '34'
    for:
      hours: 0
      minutes: 10
      seconds: 0
condition:
  - condition: time
    before: '17:00:00'
    after: '11:00:00'
    weekday:
      - sun
      - tue
      - thu
action:
  - service: notify.mobile_app_joan_cell
    data:
      message: hot out side
  - condition: state
    entity_id: input_boolean.hot_outside_mode
    state: 'on'
mode: single

That is a condition not the turn on service. You need this:

  - service: input_boolean.turn_on
    target:
      entity_id: input_boolean.hot_outside_mode
1 Like