A man has lost custody of his five-year-old daughter after he used his Amazon Alexa to babysit her while he went to the pub.
The 30-year-old, who cannot be named for legal reasons, left the girl alone at home to sleep and watched her using the app on his phone.
A magistrates court in Llandrindod Wells, Wales heard this week that he "willingly left his daughter at home" at 8pm on 13 August last year while he was supposed to be looking after her.
He was discovered to have been using a virtual assistant after being arrested by police for strangling his partner at the end of their drinking session.
A neighbour had been alerted by screaming in the garden at around 2am. PC Phillip Coombs arrived at 2.10am to find the pair engaged in a row before they "had to be separated".
Prosecutor Stephen Davies said the defendant and his new girlfriend had known each other for around seven months before the incident.
Describing the events of the evening, he said: "The female had been drinking on the day and he was with her. She went out about 8pm as did he. The child was left in the flat.
"They went to a number of pubs and she says she can’t remember anything until he was strangling her. She doesn’t recall how she got home.
"The police were called and marks were noticed on her neck. She said the child had been left in the house for a short period of time."
Gareth Walters, defending, described him as a "young man of previous good character" who had entered guilty pleas to serious offences.
He said the man's daughter had been "taken away" and it was "largely him who cared for her".
"There was some effort by him to keep an eye on her but he knows the standards fell below what is expected of a parent", Mr Walters added.
The man pleaded guilty to intentional strangulation and child neglect and was given a 12-month sentence, suspended for two years.