Created
          September 14, 2021 07:33 
        
      - 
      
- 
        Save Hypfer/0b05a4b58cdfbf18b3c490b05d9f9c7b to your computer and use it in GitHub Desktop. 
    Automatic vacuum while away
  
        
  
    
      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
    
  
  
    
  | alias: 'vacuum_cooldown: unset' | |
| trigger: | |
| - entity_id: input_boolean.vacuum_cooldown | |
| for: 09:00:00 | |
| platform: state | |
| to: 'on' | |
| condition: [] | |
| action: | |
| - data: | |
| entity_id: input_boolean.vacuum_cooldown | |
| service: input_boolean.turn_off | 
  
    
      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
    
  
  
    
  | alias: Vacuum while absent | |
| trigger: | |
| - entity_id: input_boolean.someone_present | |
| platform: state | |
| to: 'off' | |
| for: '01:30:00' | |
| condition: | |
| - condition: and | |
| conditions: | |
| - condition: state | |
| entity_id: 'input_boolean.vacuum_cooldown' | |
| state: 'off' | |
| - condition: state | |
| entity_id: 'input_boolean.vacuum_while_away' | |
| state: 'on' | |
| - condition: time | |
| after: '08:00:00' | |
| before: '19:00:00' | |
| weekday: | |
| - mon | |
| - tue | |
| - wed | |
| - thu | |
| - fri | |
| - condition: state | |
| entity_id: 'vacuum.rockrobo' | |
| state: 'docked' | |
| action: | |
| - data: | |
| entity_id: input_boolean.vacuum_cooldown | |
| service: input_boolean.turn_on | |
| - data: | |
| entity_id: vacuum.rockrobo | |
| service: vacuum.start | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment