diff --git a/pysmartthings/capability.py b/pysmartthings/capability.py index 23e019c..b410d85 100644 --- a/pysmartthings/capability.py +++ b/pysmartthings/capability.py @@ -147,6 +147,8 @@ ], "waterSensor": ["water"], "windowShade": ["windowShade"], + "windowShadeLevel": ["shadeLevel"], + "windowShadePreset": ["presetPosition"], } CAPABILITIES = list(CAPABILITIES_TO_ATTRIBUTES) ATTRIBUTES = { @@ -242,6 +244,7 @@ class Capability: water_sensor = "waterSensor" window_shade = "windowShade" window_shade_level = "windowShadeLevel" + window_shade_preset = "windowShadePreset" class Attribute: @@ -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" @@ -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"