Add and use bunch of data size and rate related constants (#31781)
Also fix a few units to match the corresponding data.
This commit is contained in:
parent
0173c61fee
commit
3e23a3a860
41 changed files with 349 additions and 223 deletions
|
@ -8,7 +8,6 @@ DEFAULT_NOTIFY_SERVICE_NAME = DOMAIN
|
|||
UPDATE_SIGNAL = f"{DOMAIN}_update"
|
||||
UPDATE_OPTIONS_SIGNAL = f"{DOMAIN}_options_update"
|
||||
|
||||
UNIT_BYTES = "B"
|
||||
UNIT_SECONDS = "s"
|
||||
|
||||
CONNECTION_TIMEOUT = 10
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue