comment out missing video files

This commit is contained in:
Siwat Sirichai 2022-11-09 23:10:12 +07:00
parent d036a3d3c7
commit 77094dfa53
1 changed files with 2 additions and 2 deletions

View File

@ -18,14 +18,14 @@ class environment:
while True:
if self.sensors.get_temperature() > 38.0:
if not self.t_alerted:
self.lcd.play_video("keke_died")
#self.lcd.play_video("keke_died")
self.t_alerted = True
else:
self.t_alerted = False
if self.sensors.get_humidity_pct() > 60.0:
if not self.h_alerted:
self.lcd.play_video("keke_cute_noise")
#self.lcd.play_video("keke_cute_noise")
self.h_alerted = True
else:
self.h_alerted = False