| 1 |
"""Types for Mopeka IOT BLE advertisements. |
| 2 |
|
| 3 |
|
| 4 |
Thanks to https://github.com/spbrogan/mopeka_pro_check for |
| 5 |
help decoding the advertisements. |
| 6 |
|
| 7 |
MIT License applies. |
| 8 |
""" |
| 9 |
|
| 10 |
from enum import Enum |
| 11 |
|
| 12 |
|
| 13 |
class MediumType(Enum): |
| 14 |
"""Enumeration of medium types for tank level measurements.""" |
| 15 |
|
| 16 |
PROPANE = "propane" |
| 17 |
AIR = "air" |
| 18 |
FRESH_WATER = "fresh_water" |
| 19 |
WASTE_WATER = "waste_water" |
| 20 |
LIVE_WELL = "live_well" |
| 21 |
BLACK_WATER = "black_water" |
| 22 |
RAW_WATER = "raw_water" |
| 23 |
GASOLINE = "gasoline" |
| 24 |
DIESEL = "diesel" |
| 25 |
LNG = "lng" |
| 26 |
OIL = "oil" |
| 27 |
HYDRAULIC_OIL = "hydraulic_oil" |