Re-enabled Ruff E713 (#87301)
This commit is contained in:
parent
5958e7c515
commit
4b27af6a8f
4 changed files with 4 additions and 5 deletions
|
@ -565,8 +565,8 @@ class ZWaveConfigParameterSensor(ZwaveSensorBase):
|
|||
if (
|
||||
self._primary_value.configuration_value_type == ConfigurationValueType.RANGE
|
||||
or (
|
||||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue