Created
November 7, 2020 12:45
-
-
Save ByTheHugo/dd6680242792e95b562f47787b40e9de to your computer and use it in GitHub Desktop.
Scripts Home Assistant permettant l'apprentissage puis la restitution de signaux IR pour aspirateurs robots.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
learn_vacuum_on_button: | |
alias: "Enregistrer aspirateur ON/OFF" | |
sequence: | |
- service: remote.learn_command | |
data: | |
entity_id: remote.rm3_remote | |
device: vacuum | |
command: on | |
alternative: True | |
learn_vacuum_home_button: | |
alias: "Enregistrer aspirateur HOME" | |
sequence: | |
- service: remote.learn_command | |
data: | |
entity_id: remote.rm3_remote | |
device: vacuum | |
command: home | |
vacuum_toggle: | |
alias: "Activer l'apirateur" | |
sequence: | |
- service: remote.send_command | |
data: | |
entity_id: remote.rm3_remote | |
device: vacuum | |
command: on | |
vacuum_home: | |
alias: "Stopper l'aspirateur" | |
sequence: | |
- service: remote.send_command | |
data: | |
entity_id: remote.rm3_remote | |
device: vacuum | |
command: home |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment