Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

Commit

Permalink
Updated capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsayre committed Jul 11, 2023
1 parent efc9879 commit 0e2c90a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pysmartthings/capability.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@
],
"waterSensor": ["water"],
"windowShade": ["windowShade"],
"windowShadeLevel": ["shadeLevel"],
"windowShadePreset": ["presetPosition"],
}
CAPABILITIES = list(CAPABILITIES_TO_ATTRIBUTES)
ATTRIBUTES = {
Expand Down Expand Up @@ -242,6 +244,7 @@ class Capability:
water_sensor = "waterSensor"
window_shade = "windowShade"
window_shade_level = "windowShadeLevel"
window_shade_preset = "windowShadePreset"


class Attribute:
Expand Down Expand Up @@ -328,6 +331,7 @@ class Attribute:
power_consumption = "powerConsumption"
power_source = "powerSource"
presence = "presence"
preset_position = "presetPosition"
progress = "progress"
rapid_cooling = "rapidCooling"
refrigeration_setpoint = "refrigerationSetpoint"
Expand All @@ -344,6 +348,7 @@ class Attribute:
supported_ac_fan_modes = "supportedAcFanModes"
supported_ac_modes = "supportedAcModes"
supported_button_values = "supportedButtonValues"
supported_fan_oscillation_modes = "supportedFanOscillationModes"
supported_input_sources = "supportedInputSources"
supported_machine_states = "supportedMachineStates"
supported_playback_commands = "supportedPlaybackCommands"
Expand Down

0 comments on commit 0e2c90a

Please sign in to comment.