diff options
| author | diogo464 <[email protected]> | 2025-12-04 21:14:27 +0000 |
|---|---|---|
| committer | diogo464 <[email protected]> | 2025-12-04 21:14:27 +0000 |
| commit | abdcb51d7e9d6ebfacdf17b32e5296464e0aa2d4 (patch) | |
| tree | 69b91ea6271abb8c1080f7bc3abb1bff4a46c32c /src/constants.rs | |
| parent | 01eab62d1d6b1ce77e63d29efb7bf57da74da8a1 (diff) | |
added switch example
Diffstat (limited to 'src/constants.rs')
| -rw-r--r-- | src/constants.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/constants.rs b/src/constants.rs index 44ba09e..6159e3d 100644 --- a/src/constants.rs +++ b/src/constants.rs | |||
| @@ -126,3 +126,6 @@ pub const HA_UNIT_DISTANCE_KILOMETER: &str = "km"; | |||
| 126 | 126 | ||
| 127 | pub const HA_ENTITY_CATEGORY_CONFIG: &str = "config"; | 127 | pub const HA_ENTITY_CATEGORY_CONFIG: &str = "config"; |
| 128 | pub const HA_ENTITY_CATEGORY_DIAGNOSTIC: &str = "diagnostic"; | 128 | pub const HA_ENTITY_CATEGORY_DIAGNOSTIC: &str = "diagnostic"; |
| 129 | |||
| 130 | pub const HA_SWITCH_STATE_ON: &str = "ON"; | ||
| 131 | pub const HA_SWITCH_STATE_OFF: &str = "OFF"; | ||
