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
<!-- | |
First of all get your username and machine name using the following commands | |
$ whoami | |
$ VBoxManage list vms | |
After that, locate (or create) the following file and open it: | |
$ cat /Users/[your-username]/Library/LaunchAgents/org.virtualbox.launch.[your-machine-name].plist | |
Once opened, paste the following content: |
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
# ----------------------------------------------------------- | |
# Con este automatismo lo que hacemos es setear true o false | |
# un campo para que Home Assistant sepa si estamos de | |
# vacaciones. | |
# ----------------------------------------------------------- | |
- id: "Turn on vacation mode" | |
alias: ⛱️ Turn ON Vacation state | |
description: "" | |
trigger: | |
- platform: state |
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
# ----------------------------------------------------------- | |
# Rocket League | |
# ----------------------------------------------------------- | |
tv_turn_on_xbox_rocket_league: | |
alias: Rocket League | |
sequence: | |
- service: script.turn_on_xbox_on_lg_tv | |
- service: media_player.play_media | |
data: | |
entity_id: media_player.xboxone |