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
|
@ -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":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue