Skip to content

Commit

Permalink
fix: Fix setup issue v4.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerSelwyn committed Nov 3, 2023
1 parent 8bf1db0 commit 0be5cd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/o365/classes/mailsensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def build_query_query(mail_folder, sensor_conf):

def _add_to_query(query, qtype, attribute_name, attribute_value, check_value=True):
if attribute_value is None or check_value is None:
return
return query

if qtype == "ge":
query.chain("and").on_attribute(attribute_name).greater_equal(attribute_value)
Expand Down

0 comments on commit 0be5cd6

Please sign in to comment.