Use common states for "Low", "Medium", "High" and "Auto" in tuya (#143002)

This commit is contained in:
Norbert Rittel 2025-04-15 19:29:15 +02:00 committed by GitHub
parent 998b33c207
commit dcf7520d2a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -288,9 +288,9 @@
"motion_sensitivity": { "motion_sensitivity": {
"name": "Motion detection sensitivity", "name": "Motion detection sensitivity",
"state": { "state": {
"0": "Low sensitivity", "0": "[%key:common::state::low%]",
"1": "Medium sensitivity", "1": "[%key:common::state::medium%]",
"2": "High sensitivity" "2": "[%key:common::state::high%]"
} }
}, },
"record_mode": { "record_mode": {
@ -404,7 +404,7 @@
"humidifier_spray_mode": { "humidifier_spray_mode": {
"name": "Spray mode", "name": "Spray mode",
"state": { "state": {
"auto": "Auto", "auto": "[%key:common::state::auto%]",
"health": "Health", "health": "Health",
"sleep": "Sleep", "sleep": "Sleep",
"humidity": "Humidity", "humidity": "Humidity",