Doorbell video

This commit is contained in:
Your Name
2019-06-07 08:31:31 +03:00
parent 2407ebce76
commit 3d01d1537b
@@ -37,7 +37,8 @@ class Doorbell(hass.Hass):
self.call_service("xiaomi_aqara/play_ringtone", gw_mac=self.gw_mac, ringtone_id=self.ringtone, ringtone_vol=100)
self.notify("Звонок в дверь!!!", name = self.args['notify'])
# for x in range(3):
self.send_image()
# self.send_image()
self.send_video()
def send_video(self):
file = '/config/www/doorbell_video.mp4'