mirror of
https://github.com/home-assistant/core.git
synced 2025-07-26 22:57:17 +00:00
Add lamp states to smartthings selector (#148302)
Co-authored-by: Joostlek <joostlek@outlook.com>
This commit is contained in:
parent
531f1f1964
commit
ccc1f01ff6
@ -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 = {
|
||||||
|
@ -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]
|
||||||
@ -226,7 +226,7 @@
|
|||||||
'last_changed': <ANY>,
|
'last_changed': <ANY>,
|
||||||
'last_reported': <ANY>,
|
'last_reported': <ANY>,
|
||||||
'last_updated': <ANY>,
|
'last_updated': <ANY>,
|
||||||
'state': 'unknown',
|
'state': 'on',
|
||||||
})
|
})
|
||||||
# ---
|
# ---
|
||||||
# name: test_all_entities[da_wm_dw_000001][select.dishwasher-entry]
|
# name: test_all_entities[da_wm_dw_000001][select.dishwasher-entry]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user