Add lamp states to smartthings selector (#148302)

Co-authored-by: Joostlek <joostlek@outlook.com>
This commit is contained in:
jvits227 2025-07-12 14:51:09 -04:00 committed by Franck Nijhof
parent 4a10370932
commit 14f059c766
No known key found for this signature in database
GPG Key ID: AB33ADACE7101952
2 changed files with 7 additions and 2 deletions

View File

@ -18,6 +18,11 @@ from .entity import SmartThingsEntity
LAMP_TO_HA = { LAMP_TO_HA = {
"extraHigh": "extra_high", "extraHigh": "extra_high",
"high": "high",
"mid": "mid",
"low": "low",
"on": "on",
"off": "off",
} }
WASHER_SOIL_LEVEL_TO_HA = { WASHER_SOIL_LEVEL_TO_HA = {

View File

@ -55,7 +55,7 @@
'last_changed': <ANY>, 'last_changed': <ANY>,
'last_reported': <ANY>, 'last_reported': <ANY>,
'last_updated': <ANY>, 'last_updated': <ANY>,
'state': 'unknown', 'state': 'off',
}) })
# --- # ---
# name: test_all_entities[da_ks_oven_01061][select.oven_lamp-entry] # name: test_all_entities[da_ks_oven_01061][select.oven_lamp-entry]
@ -112,7 +112,7 @@
'last_changed': <ANY>, 'last_changed': <ANY>,
'last_reported': <ANY>, 'last_reported': <ANY>,
'last_updated': <ANY>, 'last_updated': <ANY>,
'state': 'unknown', 'state': 'high',
}) })
# --- # ---
# name: test_all_entities[da_ks_range_0101x][select.vulcan_lamp-entry] # name: test_all_entities[da_ks_range_0101x][select.vulcan_lamp-entry]