Rewrite of not a == b occurances (#48132)
This commit is contained in:
parent
26bceae99d
commit
fb849b81b5
17 changed files with 31 additions and 31 deletions
|
@ -197,8 +197,8 @@ class ZWaveListSensor(ZwaveSensorBase):
|
|||
if self.info.primary_value.value is None:
|
||||
return None
|
||||
if (
|
||||
not str(self.info.primary_value.value)
|
||||
in self.info.primary_value.metadata.states
|
||||
str(self.info.primary_value.value)
|
||||
not in self.info.primary_value.metadata.states
|
||||
):
|
||||
return str(self.info.primary_value.value)
|
||||
return str(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue