fix: fix humidifier trans rule

This commit is contained in:
topsworld 2024-12-17 10:19:58 +08:00 committed by Paul Shawn
parent db3834793c
commit 687bc88df7

View File

@ -106,7 +106,7 @@ SPEC_DEVICE_TRANS_MAP: dict[str, dict | str] = {
'environment': { 'environment': {
'required': { 'required': {
'properties': { 'properties': {
'relative-humidity': {'read', 'write'} 'relative-humidity': {'read'}
} }
} }
} }
@ -130,7 +130,7 @@ SPEC_DEVICE_TRANS_MAP: dict[str, dict | str] = {
'environment': { 'environment': {
'required': { 'required': {
'properties': { 'properties': {
'relative-humidity': {'read', 'write'} 'relative-humidity': {'read'}
} }
} }
} }