This file contains hidden or 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
    
  
  
    
  | blueprint: | |
| name: Wallpanel Battery Management | |
| description: 'Control the charger for a permanently mounted tablet control panel.' | |
| domain: automation | |
| input: | |
| battery: | |
| name: Battery | |
| description: This is the battery sensor for the device. | |
| selector: | 
  
    
      This file contains hidden or 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
    
  
  
    
  | #!/bin/bash | |
| trap "exit" INT | |
| # Checks whether an argument was passed for the SSH key | |
| if [ -n "$2" ]; then | |
| SSH_KEY="-i $2" | |
| else | |
| SSH_KEY="" | |
| fi | |
| echo -e "\nHost:" |