mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 18:48:22 +00:00
Adjust
This commit is contained in:
parent
3f840ab446
commit
94739f45d0
@ -360,7 +360,7 @@ class TuyaClimateEntity(TuyaEntity, ClimateEntity):
|
||||
if self._set_temperature is None:
|
||||
raise ServiceValidationError(
|
||||
translation_domain=DOMAIN,
|
||||
translation_key="dpcode_not_found",
|
||||
translation_key="action_dpcode_not_found",
|
||||
)
|
||||
|
||||
self._send_command(
|
||||
|
@ -337,7 +337,7 @@ class TuyaCoverEntity(TuyaEntity, CoverEntity):
|
||||
if self._set_position is None:
|
||||
raise ServiceValidationError(
|
||||
translation_domain=DOMAIN,
|
||||
translation_key="dpcode_not_found",
|
||||
translation_key="action_dpcode_not_found",
|
||||
)
|
||||
|
||||
self._send_command(
|
||||
@ -369,7 +369,7 @@ class TuyaCoverEntity(TuyaEntity, CoverEntity):
|
||||
if self._tilt is None:
|
||||
raise ServiceValidationError(
|
||||
translation_domain=DOMAIN,
|
||||
translation_key="dpcode_not_found",
|
||||
translation_key="action_dpcode_not_found",
|
||||
)
|
||||
|
||||
self._send_command(
|
||||
|
@ -181,7 +181,7 @@ class TuyaHumidifierEntity(TuyaEntity, HumidifierEntity):
|
||||
if self._set_humidity is None:
|
||||
raise ServiceValidationError(
|
||||
translation_domain=DOMAIN,
|
||||
translation_key="dpcode_not_found",
|
||||
translation_key="action_dpcode_not_found",
|
||||
)
|
||||
|
||||
self._send_command(
|
||||
|
@ -466,7 +466,7 @@ class TuyaNumberEntity(TuyaEntity, NumberEntity):
|
||||
if self._number is None:
|
||||
raise ServiceValidationError(
|
||||
translation_domain=DOMAIN,
|
||||
translation_key="dpcode_not_found",
|
||||
translation_key="action_dpcode_not_found",
|
||||
)
|
||||
|
||||
self._send_command(
|
||||
|
Loading…
x
Reference in New Issue
Block a user