This trigger fires when a door is opened or closed
    
    
    
      - API endpoint slug
 
      - smartnest.locked_state
 
    
  
  
  
    Trigger fields
        
          
          
              - Label
 
              - Device
 
              - Helper text
 
              - Your device from Smartnest
 
            - Slug
 
            - device
 
            - Required
 
            - true
 
            - Can have default value
 
            - false
 
          
         
        
          
          
              - Label
 
              - State
 
              - Helper text
 
              - Open or closed
 
            - Slug
 
            - state
 
            - Required
 
            - true
 
            - Can have default value
 
            - true
 
          
         
  
    
    
      Ingredients
          
            
            
              - Slug
 
              - created_at
 
              - Filter code
 
              - Smartnest.lockedState.CreatedAt
 
              - Type
 
              - Date with time (ISO8601)
 
                  - Example
 
                  - 2020-07-08T04:17:06+05:00
 
            
           
          
            
            
              - Slug
 
              - device_name
 
              - Filter code
 
              - Smartnest.lockedState.DeviceName
 
              - Type
 
              - String
 
                  - Example
 
                  - https://www.smartnest.cz/img/Documentation/IFTTTGuide/deviceOnline.pgn
 
            
           
          
            
            
              - Slug
 
              - device_state
 
              - Filter code
 
              - Smartnest.lockedState.DeviceState
 
              - Type
 
              - String
 
                  - Example
 
                  - https://www.smartnest.cz/img/Documentation/IFTTTGuide/deviceOnline.pgn