Re-enabled Ruff E713 (#87301)

This commit is contained in:
Franck Nijhof 2023-02-03 16:18:33 +01:00 committed by GitHub
parent 5958e7c515
commit 4b27af6a8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 5 deletions

View file

@ -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)