We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d35cfd1 commit d250626Copy full SHA for d250626
1 file changed
plugwise_usb/network/__init__.py
@@ -89,6 +89,9 @@ def cache_enabled(self) -> bool:
89
def cache_enabled(self, enable: bool = True) -> None:
90
"""Enable or disable usage of cache of network register."""
91
self._register.cache_enabled = enable
92
+ if self._cache_enabled != enable:
93
+ for node in self._nodes.values():
94
+ node.cache_enabled = enable
95
self._cache_enabled = enable
96
97
@property
0 commit comments