Creer un input.boolen pour controle chaudiere

Bonjour a tous,

je possede alexa et j’ai cree un input.boolen pour que vocalement je puisse coupe ma chaudiere.

voici ma chaudiere

hvac_modes:
 - auto
 - heat
 - 'off'
min_temp: 7
max_temp: 35
target_temp_step: 0.5
preset_modes:
 - away
 - boost
 - Frost Guard
 - Schedule
current_temperature: 23.1
temperature: 21
hvac_action: idle
preset_mode: Schedule
battery_level: 100
selected_schedule: 5fcf919e22805174495eefa1
friendly_name: Netatmo Thermostat Generale
supported_features: 17

voici mon automation pour on

alias: 'Chaudiere off:on'
description: ''
trigger:
 - platform: state
   entity_id: input_boolean.chaudiere
   from: 'off'
   to: 'on'
condition: []
action:
 - service: climate.set_hvac_mode
   data:
     hvac_mode: auto
   target:
     entity_id: climate.netatmo_thermostat_generale
mode: single

j’ai cree la meme automation off

j’aimerai que mon input recupere l’etat de ma chaudiere en off ou auto car si elle s’arrete mon input reste sur on.

Je vous remercie

System Health

version core-2021.3.4
installation_type Home Assistant Supervised
dev false
hassio true
docker true
virtualenv false
python_version 3.8.7
os_name Linux
os_version 4.19.0-13-amd64
arch x86_64
timezone Europe/Paris
Home Assistant Community Store
GitHub API ok
Github API Calls Remaining 2583
Installed Version 1.11.3
Stage running
Available Repositories 779
Installed Repositories 55
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Hass.io
host_os Debian GNU/Linux 10 (buster)
update_channel beta
supervisor_version supervisor-2021.03.9
docker_version 20.10.2
disk_total 113.6 GB
disk_used 14.8 GB
healthy true
supported true
supervisor_api ok
version_api ok
installed_addons Duck DNS (1.12.5), Samba share (9.3.1), MQTT Server & Web client (1.2.0), File editor (5.2.0), Terminal & SSH (9.1.0), ESPHome (1.16.2), Spotify Connect (0.8.2), InfluxDB (4.0.3), Grafana (6.2.0), Portainer (1.4.0), Tydom2MQTT - Beta (release_1.00), Zigbee2mqtt (1.18.1-2), Zigbee2mqtt Edge (edge), Node-RED (8.2.1), Home Assistant Google Drive Backup (0.103.1), deCONZ (6.8.0)
Lovelace
dashboards 1
resources 35
views 13
mode storage
Spotify
api_endpoint_reachable ok

Bonjour,

Je n’ai pas de climate, mais lorsque ta chaudière est s’arrête je suppose que cela correspond à cela ?

Si oui, dans tes actions tu fais un choose en mettant en condition hvac_action puis tu fais un input_boolean.turn_off

Merci Pepite,

ca marche parfaitement


description: ''
trigger:
  - platform: state
    entity_id: input_boolean.chaudiere
    from: 'off'
    to: 'on'
condition:
  - condition: state
    entity_id: climate.netatmo_thermostat_generale
    state: idle
    attribute: hvac_action
action:
  - service: climate.set_hvac_mode
    data:
      hvac_mode: auto
    target:
      entity_id:
        - climate.netatmo_thermostat_generale
        - climate.netatmo_chambre
        - climate.netatmo_salle_a_manger
        - climate.netatmo_salon_escalier
mode: single
1 « J'aime »