Reverts #141363 "Deprecate SmartThings machine state sensors" (#141573)

Reverts #141363
This commit is contained in:
Robert Resch 2025-03-28 11:40:24 +01:00 committed by Franck Nijhof
parent 5c8e415a76
commit e11409ef99
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3
3 changed files with 0 additions and 8 deletions

View File

@ -331,7 +331,6 @@ CAPABILITY_TO_SENSORS: dict[
translation_key="dryer_machine_state",
options=WASHER_OPTIONS,
device_class=SensorDeviceClass.ENUM,
deprecated=lambda _: "machine_state",
)
],
Attribute.DRYER_JOB_STATE: [
@ -966,7 +965,6 @@ CAPABILITY_TO_SENSORS: dict[
translation_key="washer_machine_state",
options=WASHER_OPTIONS,
device_class=SensorDeviceClass.ENUM,
deprecated=lambda _: "machine_state",
)
],
Attribute.WASHER_JOB_STATE: [

View File

@ -487,10 +487,6 @@
"title": "Deprecated refrigerator door binary sensor detected in some automations or scripts",
"description": "The refrigerator door binary sensor `{entity}` is deprecated and is used in the following automations or scripts:\n{items}\n\nSeparate entities for cooler and freezer door are available and should be used going forward. Please use them in the above automations or scripts to fix this issue."
},
"deprecated_machine_state": {
"title": "Deprecated machine state sensor detected in some automations or scripts",
"description": "The machine state sensor `{entity}` is deprecated and is used in the following automations or scripts:\n{items}\n\nA select entity is now available for the machine state and should be used going forward. Please use the new select entity in the above automations or scripts to fix this issue."
},
"deprecated_switch_appliance": {
"title": "Deprecated switch detected in some automations or scripts",
"description": "The switch `{entity}` is deprecated because the actions did not work, so it has been replaced with a binary sensor instead.\n\nThe switch was used in the following automations or scripts:\n{items}\n\nPlease use the new binary sensor in the above automations or scripts to fix this issue."

View File

@ -60,8 +60,6 @@ async def test_state_update(
@pytest.mark.parametrize(
("device_fixture", "entity_id", "translation_key"),
[
("da_wm_wm_000001", "sensor.washer_machine_state", "machine_state"),
("da_wm_wd_000001", "sensor.dryer_machine_state", "machine_state"),
("hw_q80r_soundbar", "sensor.soundbar_volume", "media_player"),
("hw_q80r_soundbar", "sensor.soundbar_media_playback_status", "media_player"),
("hw_q80r_soundbar", "sensor.soundbar_media_input_source", "media_player"),