Write a horror movie synopsis of a couple who move into house and the movie must involve AI. Give it an M Night Shyamalam twist ending

Couple Kelsey (tech sales) and Mark (software, AI engineer) are struggling financially in Cali after get laid off and need to move into a much cheaper apartment. After a string of disappointing home viewing options, they get info that a really swanky home is available for very cheap. The home agent says they can have the home for rent for a strangely very cheap price, the catch is that it's a fully AI run smart home built by the landlord himself but it's got too many bugs and he's still trying to make it work. The couple moves in and the 'bugs' in the smart home system seem to have a mind of it's own + tries to hurt them. However, these 'tech issues' seem to get stranger when the couple starts seeing 'entities' and experiencing poltergeist type hauntings. They think it's the distortions from EMF waves emitted by the wrongly coded smart home system and gadgets. 
Twist comes towards the the end when the couple they realise the landlord was experimenting with AI and electromagnetic waves to conjure up portals to the ghost world in order to bring his dead wife back to life. 
The landlord has been trying to have Kelsey killed and 'program' her with the resurrected spirit of his dead wife.