diff options
| author | diogo464 <[email protected]> | 2025-12-08 20:49:23 +0000 |
|---|---|---|
| committer | diogo464 <[email protected]> | 2025-12-08 20:49:23 +0000 |
| commit | 8ac9ddd2cbc9cf454eae066e5e60d05ee714a83e (patch) | |
| tree | e4797159d8fdae7e8521295fd8178cadc8c2974a /src/entity_switch.rs | |
| parent | 28d9961141a38ebde8bd6144636c3021eb2755a5 (diff) | |
formatting and improved timeout handling
Diffstat (limited to 'src/entity_switch.rs')
| -rw-r--r-- | src/entity_switch.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/entity_switch.rs b/src/entity_switch.rs index 1cb3647..299d299 100644 --- a/src/entity_switch.rs +++ b/src/entity_switch.rs | |||
| @@ -1,4 +1,6 @@ | |||
| 1 | use crate::{BinaryState, Entity, EntityCommonConfig, EntityConfig, SwitchCommand, SwitchState, constants}; | 1 | use crate::{ |
| 2 | BinaryState, Entity, EntityCommonConfig, EntityConfig, SwitchCommand, SwitchState, constants, | ||
| 3 | }; | ||
| 2 | 4 | ||
| 3 | #[derive(Debug, Default, Clone, Copy, PartialEq, Eq)] | 5 | #[derive(Debug, Default, Clone, Copy, PartialEq, Eq)] |
| 4 | pub enum SwitchClass { | 6 | pub enum SwitchClass { |
