From 84a1fc04dc1db1dc2aca4affbe31da1b6bfb7f82 Mon Sep 17 00:00:00 2001 From: Nathan Spencer Date: Mon, 4 Mar 2024 11:35:08 -0700 Subject: [PATCH] Add missing device and feature type enums --- vivintpy/enums.py | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/vivintpy/enums.py b/vivintpy/enums.py index d6d49f1..01a4735 100644 --- a/vivintpy/enums.py +++ b/vivintpy/enums.py @@ -153,7 +153,7 @@ class DeviceType(Enum): """Device type.""" AIR_TOWER = "airtower_device" - ALPHA_CS6022_CAMERA_DEVICE = "alpha_cs6022_camera_device" + ALPHA_CS6022_CAMERA = "alpha_cs6022_camera_device" BINARY_SWITCH = "binary_switch_device" CAMERA = "camera_device" CARGUARD_DEVICE = "carguard_device" @@ -168,6 +168,7 @@ class DeviceType(Enum): KEY_FOB = "keyfob_device" KEY_PAD = "keypad_device" KWIKSET988_DOOR_LOCK = "kwikset_988_door_lock_device" + MQTT_AUDIO_SYNC_SERVICE = "mqtt_audio_sync_service" MULTI_LEVEL_SWITCH = "multilevel_switch_device" NEST_THERMOSTAT = "nest_thermostat_device" NETWORK_HOSTS_SERVICE = "network_hosts_service" @@ -184,6 +185,11 @@ class DeviceType(Enum): SMART_THERMOSTAT_V2 = "ev2_thermostat_device" SPACE_MONKEY = "space_monkey_service" THERMOSTAT = "thermostat_device" + VIVINT_DBC300_CAMERA = "vivint_dbc300_camera_device" + VIVINT_DBC301_CAMERA = "vivint_dbc301_camera_device" + VIVINT_DBC350_CAMERA = "vivint_dbc350_camera_device" + VIVINT_ODC300_CAMERA = "vivint_odc300_camera_device" + VIVINT_ODC350_CAMERA = "vivint_odc350_camera_device" VIVOTEK620_PT_CAMERA = "vivotek_620pt_camera_device" VIVOTEK720_CAMERA = "vivotek_720_camera_device" VIVOTEK720_W_CAMERA = "vivotek_720w_camera_device" @@ -335,12 +341,28 @@ def _missing_(cls, value: Any) -> FanMode: class FeatureType(Enum): """Feature type.""" + ANY_DETER = "any_deter" + ANY_HVAC_AWAY_SETBACK = "any_hvac_away_setback" + ANY_HVAC_SCHEDULES = "any_hvac_schedules" + ANY_LOCK_SELECTION = "any_lock_selection" + ANY_NIGHT_VISION = "any_nght" + ANY_REBOOT = "any_rb" + ANY_RESTORE_DEFAULTS = "any_rstdef" + ANY_SMART_SENTRY_SNOOZE = "any_smart_sentry_snooze" + ANY_VEHICLE_DETECTION = "any_vehicle_detection" + ANY_VIDEO_THUMBNAILS = "any_video_thumbnails" + DETER = "deter" DYNAMIC_CHIMES = "dynamic_chimes_available" + HVAC_AWAY_SETBACK = "hvac_away_setback" + HVAC_SCHEDULES = "hvac_schedules" + LOCK_SELECTION = "lock_selection" PACKAGE_WATCH = "package_watch" REBOOT = "rb" RESTORE_DEFAULTS = "rstdef" SELECTABLE_NIGHTVISION = "nght" + SMART_SENTRY_SNOOZE = "smart_sentry_snooze" + VEHICLE_DETECTION = "vehicle_detection" VIDEO_THUMBNAILS = "video_thumbnails" UKNOWN = "unknown"