Rewrite of not a == b occurances (#48132)

This commit is contained in:
Franck Nijhof 2021-03-20 01:27:04 +01:00 committed by GitHub
parent 26bceae99d
commit fb849b81b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 31 additions and 31 deletions

View file

@ -15,7 +15,7 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
dev = []
for sensor_type, sensor_details in SENSOR_TYPES.items():
if not sensor_details[0] in client.api.data:
if sensor_details[0] not in client.api.data:
continue
if sensor_details[0] in client.api.data:
if sensor_details[0] == "fs":