Skip to content

Climate turn on/off from automation not working #286

@dominig

Description

@dominig

Describe the bug
Changing the mode as "Heat" or "off" does not work (anymore)

To Reproduce
Steps to reproduce the behaviour:

  1. Create a test automation
  2. As Action select "Climate: Turn off"
  3. Try to select an area -> nothing can be shown
  4. If you had previously defined an area (as it used to work) it does nothing when action run

Expected behavior
Climate turn on and off should be possible to activate or deactivate the heating for a given zone

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: (VM on a Freebox)
    NAME="Alpine Linux"
    ID=alpine
    VERSION_ID=3.21.0
    PRETTY_NAME="Alpine Linux v3.21"
    HOME_URL="https://alpinelinux.org/"

  • Smart thermostat Version 2021.11.1

  • Version [e.g. 22]

Additional context
** Action is defined as follow **
alias: Window Bedroom Opened Stop heating
description: Set the heating to Away mode when window is opened
triggers:

  • type: opened
    device_id: a856b646ae1ff52860c226fe9ca67583
    entity_id: 535ce1b531950b68cbd583daa6a18303
    domain: binary_sensor
    trigger: device
    conditions: []
    actions:
  • data: {}
    target:
    area_id: chambre
    action: climate.turn_off
    mode: single

The configuration is old an was created by hand. It used to work.
I see that note (is it relevant ?)
Integration entries
This integration was not setup via the UI, you have either set it up in YAML or it is a dependency set up by another integration. If you want to configure it, you will need to do so in your configuration.yaml file.

** my config file included **

  • platform: smart_thermostat
    name: Smart Thermostat Bedroom
    unique_id: smart_thermostat_bedroom
    heater: switch.virtual_virtual_radiator_bedroom
    target_sensor: sensor.temperature_bedroom_temperature_2
    outdoor_sensor: sensor.larmor_plage_temperature
    min_temp: 7
    max_temp: 25
    ac_mode: False
    target_temp: 19
    away_temp: 5
    eco_temp: 17
    comfort_temp: 19
    target_temp_step: 0.1
    keep_alive: 00:05:00
    kp: 5.5
    ki: 0.0005
    kd: 300
    ke: 5
    pwm: 00:05:00
    min_cycle_duration: 00:01:00

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions