fix: translate machine_state sensor values; bump to 0.4.1

machine_state was rendering the raw lowercase OCF values (idle/active/
pause) untranslated in the UI. Add device_class=enum, options, and a
translation_key matching the existing pattern used by ice_making_status
and connection_mode, in both the shared operational.py capability and
oven.py's separate machine_state sensor.

Bump patch version for this fix plus the ice_type 'off' translation and
iot_class correction earlier on this branch.
This commit is contained in:
Marc Billow committed 2026-07-19 04:33:23 +00:00
1 parent 795763f3ca
commit 91013ece60
5 files changed
+21 -3

No files matched your search

+1 -1
View File
@@ -12,5 +12,5 @@
"pyOpenSSL>=23.0",
"smartthings-local>=0.1.0"
],
"version": "0.4.0"
"version": "0.4.1"
}