Skip to content

Commit

Permalink
Add pressure capability constant
Browse files Browse the repository at this point in the history
  • Loading branch information
jason0x43 committed Sep 22, 2020
1 parent 31c7177 commit 5e0218b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions hubitatmaker/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
ATTR_POSITION,
ATTR_POWER,
ATTR_PRESENCE,
ATTR_PRESSURE,
ATTR_PUSHED,
ATTR_SECURITY_KEYPAD,
ATTR_SMOKE,
Expand All @@ -37,7 +38,6 @@
ATTR_VOLTAGE,
ATTR_WATER,
ATTR_WINDOW_SHADE,
ATTR_PRESSURE,
CAP_ALARM,
CAP_COLOR_CONTROL,
CAP_COLOR_TEMP,
Expand All @@ -55,6 +55,7 @@
CAP_MUSIC_PLAYER,
CAP_POWER_METER,
CAP_PRESENCE_SENSOR,
CAP_PRESSURE_MEASUREMENT,
CAP_PUSHABLE_BUTTON,
CAP_RELATIVE_HUMIDITY_MEASUREMENT,
CAP_SECURITY_KEYPAD,
Expand Down Expand Up @@ -157,6 +158,7 @@
"ATTR_POSITION",
"ATTR_POWER",
"ATTR_PRESENCE",
"ATTR_PRESSURE",
"ATTR_PUSHED",
"ATTR_SECURITY_KEYPAD",
"ATTR_SMOKE",
Expand All @@ -168,7 +170,6 @@
"ATTR_VOLTAGE",
"ATTR_WATER",
"ATTR_WINDOW_SHADE",
"ATTR_PRESSURE",
"Attribute",
"CAP_ALARM",
"CAP_COLOR_CONTROL",
Expand All @@ -187,6 +188,7 @@
"CAP_MUSIC_PLAYER",
"CAP_POWER_METER",
"CAP_PRESENCE_SENSOR",
"CAP_PRESSURE_MEASUREMENT",
"CAP_PUSHABLE_BUTTON",
"CAP_RELATIVE_HUMIDITY_MEASUREMENT",
"CAP_SECURITY_KEYPAD",
Expand Down
3 changes: 2 additions & 1 deletion hubitatmaker/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
CAP_MUSIC_PLAYER = "MusicPlayer"
CAP_POWER_METER = "PowerMeter"
CAP_PRESENCE_SENSOR = "PresenceSensor"
CAP_PRESSURE_MEASUREMENT = "PressureMeasurement"
CAP_PUSHABLE_BUTTON = "PushableButton"
CAP_DOUBLE_TAPABLE_BUTTON = "DoubleTapableButton"
CAP_RELATIVE_HUMIDITY_MEASUREMENT = "RelativeHumidityMeasurement"
Expand Down Expand Up @@ -51,6 +52,7 @@
ATTR_POSITION = "position"
ATTR_POWER = "power"
ATTR_PRESENCE = "presence"
ATTR_PRESSURE = "pressure"
ATTR_PUSHED = "pushed"
ATTR_SECURITY_KEYPAD = "securityKeypad"
ATTR_SMOKE = "smoke"
Expand All @@ -62,7 +64,6 @@
ATTR_WINDOW_SHADE = "windowShade"
ATTR_SPEED = "speed"
ATTR_SWITCH = "switch"
ATTR_PRESSURE = "pressure"

CMD_ARM_AWAY = "armAway"
CMD_ARM_HOME = "armHome"
Expand Down

0 comments on commit 5e0218b

Please sign in to comment.