Fix minor bugs
This commit is contained in:
		
							parent
							
								
									b742f0f8d6
								
							
						
					
					
						commit
						ea09061b29
					
				
					 2 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -766,7 +766,8 @@ components:
 | 
			
		|||
            $ref: '#/components/schemas/tag'
 | 
			
		||||
        is_on:
 | 
			
		||||
          type: boolean
 | 
			
		||||
          description: NULL when unknown
 | 
			
		||||
          nullable: true
 | 
			
		||||
          description: NULL when unknown (usually because controller is not connected)
 | 
			
		||||
    schedule-untagged:
 | 
			
		||||
      title: schedule
 | 
			
		||||
      type: object
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -128,6 +128,7 @@ impl Handler<DisconnectController> for AppState {
 | 
			
		|||
			//block_on(address.send(ControllerWsAction::Disconnect))??;
 | 
			
		||||
			address.do_send(ControllerWsAction::Disconnect);
 | 
			
		||||
		}
 | 
			
		||||
		self.notify_relay_clients();
 | 
			
		||||
		Ok(())
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue