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 GitHub
parent 531f1f1964
commit ccc1f01ff6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 3 deletions

View File

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

View File

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