mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 11:47:06 +00:00
Add Steam closet sanitize to SmartThings (#145110)
This commit is contained in:
parent
5619042fe7
commit
ebed38c1dc
@ -109,6 +109,9 @@
|
||||
"ice_maker": {
|
||||
"default": "mdi:delete-variant"
|
||||
},
|
||||
"sanitize": {
|
||||
"default": "mdi:lotion"
|
||||
},
|
||||
"auto_cycle_link": {
|
||||
"default": "mdi:link-off",
|
||||
"state": {
|
||||
|
@ -559,6 +559,9 @@
|
||||
"auto_cycle_link": {
|
||||
"name": "Auto cycle link"
|
||||
},
|
||||
"sanitize": {
|
||||
"name": "Sanitize"
|
||||
},
|
||||
"keep_fresh_mode": {
|
||||
"name": "Keep fresh mode"
|
||||
}
|
||||
|
@ -99,6 +99,12 @@ CAPABILITY_TO_SWITCHES: dict[Capability | str, SmartThingsSwitchEntityDescriptio
|
||||
translation_key="sabbath_mode",
|
||||
status_attribute=Attribute.STATUS,
|
||||
),
|
||||
Capability.SAMSUNG_CE_STEAM_CLOSET_SANITIZE_MODE: SmartThingsSwitchEntityDescription(
|
||||
key=Capability.SAMSUNG_CE_STEAM_CLOSET_SANITIZE_MODE,
|
||||
translation_key="sanitize",
|
||||
status_attribute=Attribute.STATUS,
|
||||
entity_category=EntityCategory.CONFIG,
|
||||
),
|
||||
Capability.SAMSUNG_CE_STEAM_CLOSET_KEEP_FRESH_MODE: SmartThingsSwitchEntityDescription(
|
||||
key=Capability.SAMSUNG_CE_STEAM_CLOSET_KEEP_FRESH_MODE,
|
||||
translation_key="keep_fresh_mode",
|
||||
|
@ -234,6 +234,53 @@
|
||||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[da_wm_sc_000001][switch.airdresser_sanitize-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
'area_id': None,
|
||||
'capabilities': None,
|
||||
'config_entry_id': <ANY>,
|
||||
'config_subentry_id': <ANY>,
|
||||
'device_class': None,
|
||||
'device_id': <ANY>,
|
||||
'disabled_by': None,
|
||||
'domain': 'switch',
|
||||
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
||||
'entity_id': 'switch.airdresser_sanitize',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': None,
|
||||
'original_icon': None,
|
||||
'original_name': 'Sanitize',
|
||||
'platform': 'smartthings',
|
||||
'previous_unique_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': 'sanitize',
|
||||
'unique_id': 'b93211bf-9d96-bd21-3b2f-964fcc87f5cc_main_samsungce.steamClosetSanitizeMode_status_status',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[da_wm_sc_000001][switch.airdresser_sanitize-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'friendly_name': 'AirDresser Sanitize',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'switch.airdresser_sanitize',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'off',
|
||||
})
|
||||
# ---
|
||||
# name: test_all_entities[da_wm_sc_000001][switch.airdresser_auto_cycle_link-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
|
Loading…
x
Reference in New Issue
Block a user