increase FILLED status to >4 machines

This commit is contained in:
Tomáš Mládek 2021-02-24 22:07:01 +01:00
parent 30e78ee2f0
commit 016f5083a6

View file

@ -134,7 +134,7 @@ def run_forever(address: str, period: int, ssid: str, output: str, webhook_url:
if len(registered_leases) > 0:
people_cnt = len([lease for lease in registered_leases if _is_human(lease)])
if people_cnt > 3:
if people_cnt > 4:
status = Status(open=True, description='FILLED', text="There seems to be a lot of people!")
elif people_cnt > 0:
status = Status(open=True, description='POPULATED', text="There seem to be people!")