Fix for assumed state in command_line (#5578)
* Bug fix for assumed state in command_line * command line * command line * command line * command line test
This commit is contained in:
1 parent
fb49c588e5
commit
a465a45588
2 files changed
+3
-3
No files matched your search
@@ -124,7 +124,7 @@ class CommandSwitch(SwitchDevice):
|
||||
@property
|
||||
def assumed_state(self):
|
||||
"""Return true if we do optimistic updates."""
|
||||
return self._command_state is False
|
||||
return self._command_state is None
|
||||
|
||||
def _query_state(self):
|
||||
"""Query for state."""
|
||||
|
||||
Reference in new issue
Block a user