Bon je pense avoir trouvé une solution simple (Il y a surement d’autres solutions):
Si j’appuie sur le bouton 1 de n’importe quel inter, j’active le bouton 1 des trois inter
Si j’appuie sur le bouton 2 de n’importe quel inter, j’active le bouton 2 des trois inter
Si j’appuie sur le bouton 3 de n’importe quel inter, j’active le bouton 3 des trois inter
Pour faire cela, il a fallut créer 6 automatisations:
-Allumage plafonnier 1
alias: eclairage_1_salon_on
description: eclairage_1_salon_on
trigger:
- platform: state
entity_id:
- switch.inter_moes_1_left
from: "off"
to: "on"
- platform: state
entity_id:
- switch.inter_moes_2_left
from: "off"
to: "on"
- platform: state
entity_id:
- switch.inter_moes_3_left
from: "off"
to: "on"
condition: []
action:
- type: turn_on
device_id: 538e3474d20cf6043a9b7c7e5d073e17
entity_id: 0cae4f2cd37fd00e2fc256ccf84224da
domain: switch
- type: turn_on
device_id: b8c641275579a8b519af8198f76e6892
entity_id: 2fa8b323c6d1a188cdb6d0de3c1662c0
domain: switch
- type: turn_on
device_id: 6a0e4dce4584b4d336a59932e27fa27e
entity_id: 825a05d0113496854e6a6acc8e40e7b2
domain: switch
mode: single
- Extinction plafonnier 1
alias: eclairage_1_salon_off
description: eclairage_1_salon_off
trigger:
- platform: state
entity_id:
- switch.inter_moes_1_left
from: "on"
to: "off"
- platform: state
entity_id:
- switch.inter_moes_2_left
from: "on"
to: "off"
- platform: state
entity_id:
- switch.inter_moes_3_left
from: "on"
to: "off"
condition: []
action:
- type: turn_off
device_id: 538e3474d20cf6043a9b7c7e5d073e17
entity_id: 0cae4f2cd37fd00e2fc256ccf84224da
domain: switch
- type: turn_off
device_id: b8c641275579a8b519af8198f76e6892
entity_id: 2fa8b323c6d1a188cdb6d0de3c1662c0
domain: switch
- type: turn_off
device_id: 6a0e4dce4584b4d336a59932e27fa27e
entity_id: 825a05d0113496854e6a6acc8e40e7b2
domain: switch
mode: single
- Allumage plafonnier 2
alias: eclairage_2_salon_on
description: eclairage_2_salon_on
trigger:
- platform: state
entity_id:
- switch.inter_moes_1_center
from: "off"
to: "on"
- platform: state
entity_id:
- switch.inter_moes_2_center
from: "off"
to: "on"
- platform: state
entity_id:
- switch.inter_moes_3_center
from: "off"
to: "on"
condition: []
action:
- type: turn_on
device_id: 538e3474d20cf6043a9b7c7e5d073e17
entity_id: 9564140329e0d8d1f968932b2e1013a8
domain: switch
- type: turn_on
device_id: b8c641275579a8b519af8198f76e6892
entity_id: 447e3abc92dbbb58e231e11a1774fac9
domain: switch
- type: turn_on
device_id: 6a0e4dce4584b4d336a59932e27fa27e
entity_id: 1b34148de9f5bc00cbbb4b65b4b70d85
domain: switch
mode: single
Extinction plafonier 2
alias: eclairage_2_salon_off
description: eclairage_2_salon_off
trigger:
- platform: state
entity_id:
- switch.inter_moes_1_center
from: "on"
to: "off"
- platform: state
entity_id:
- switch.inter_moes_2_center
from: "on"
to: "off"
- platform: state
entity_id:
- switch.inter_moes_3_center
from: "on"
to: "off"
condition: []
action:
- type: turn_off
device_id: 538e3474d20cf6043a9b7c7e5d073e17
entity_id: 9564140329e0d8d1f968932b2e1013a8
domain: switch
- type: turn_off
device_id: b8c641275579a8b519af8198f76e6892
entity_id: 447e3abc92dbbb58e231e11a1774fac9
domain: switch
- type: turn_off
device_id: 6a0e4dce4584b4d336a59932e27fa27e
entity_id: 1b34148de9f5bc00cbbb4b65b4b70d85
domain: switch
mode: single
- Allumage plafonnier 3
alias: eclairage_3_salon_on
description: eclairage_3_salon_on
trigger:
- platform: state
entity_id:
- switch.inter_moes_1_right
from: "off"
to: "on"
- platform: state
entity_id:
- switch.inter_moes_2_right
from: "off"
to: "on"
- platform: state
entity_id:
- switch.inter_moes_3_right
from: "off"
to: "on"
condition: []
action:
- type: turn_on
device_id: 538e3474d20cf6043a9b7c7e5d073e17
entity_id: 6b10fcf43d991dbfa82a2676ac97d78e
domain: switch
- type: turn_on
device_id: b8c641275579a8b519af8198f76e6892
entity_id: 4768606d8b65be201456cc83533dabf5
domain: switch
- type: turn_on
device_id: 6a0e4dce4584b4d336a59932e27fa27e
entity_id: bd6a2f15ec78576c7f20b36e630dd85f
domain: switch
mode: single
- Extinction plafonnier 3
alias: eclairage_3_salon_off
description: eclairage_3_salon_off
trigger:
- platform: state
entity_id:
- switch.inter_moes_1_right
from: "on"
to: "off"
- platform: state
entity_id:
- switch.inter_moes_2_right
from: "on"
to: "off"
- platform: state
entity_id:
- switch.inter_moes_3_right
from: "on"
to: "off"
condition: []
action:
- type: turn_off
device_id: 538e3474d20cf6043a9b7c7e5d073e17
entity_id: 6b10fcf43d991dbfa82a2676ac97d78e
domain: switch
- type: turn_off
device_id: b8c641275579a8b519af8198f76e6892
entity_id: 4768606d8b65be201456cc83533dabf5
domain: switch
- type: turn_off
device_id: 6a0e4dce4584b4d336a59932e27fa27e
entity_id: bd6a2f15ec78576c7f20b36e630dd85f
domain: switch
mode: single