Fix minor bugs

This commit is contained in:
Tobias Reisinger 2024-05-01 01:48:19 +02:00
parent b742f0f8d6
commit ea09061b29
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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(())
}
}