Connecting the motion sensor, alarm and video recording in Home Assistant on Raspberry pi

I’d like to tell you about my little experience of working with Home Assistant (hereinafter – HA) on Raspberry pi. Further I’ll speak about connecting the video registration functionality, the motion sensor and, accordingly, the home security function with receiving photos by e-mail  in case of triggering “security”. Of course, one of the reasons is …