Skip to content

Commit 8f4c74a

Browse files
committed
Renamed post resource for api purposes
1 parent c8f889c commit 8f4c74a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

servercom/implementations/circuitpy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def basic_auth_str(user: str, pwd: str) -> str:
3232
TEMPERATURE = "temperature",
3333
PRESSURE = "pressure",
3434
COMMENT = "comment",
35-
BATTERY = "remaining battery",
35+
BATTERY = "battery voltage",
3636
BEACON = "beacon challenge"
3737
)
3838

servercom/implementations/cpy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class DataClass(str, Enum):
2020
TEMPERATURE = "temperature"
2121
PRESSURE = "pressure"
2222
COMMENT = "comment"
23-
BATTERY = "remaining battery"
23+
BATTERY = "battery voltage"
2424
BEACON = "beacon challenge"
2525

2626
class DataPoint():

0 commit comments

Comments
 (0)