We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c771745 commit 493e18cCopy full SHA for 493e18c
1 file changed
plugwise_usb/nodes/node.py
@@ -781,7 +781,7 @@ async def set_relay(self, state: bool) -> bool:
781
"""Change the state of the relay."""
782
if NodeFeature.RELAY not in self._features:
783
raise FeatureError(
784
- f"Changing relay-lock is not supported for node {self.mac}"
+ f"Changing relay-state is not supported for node {self.mac}"
785
)
786
raise NotImplementedError()
787
@@ -790,7 +790,7 @@ async def set_relay_lock(self, state: bool) -> bool:
790
"""Change lock of the relay."""
791
if NodeFeature.RELAY_LOCK not in self._features:
792
793
+ f"Changing relay-lock state is not supported for node {self.mac}"
794
795
796
0 commit comments