Your daughter has taken away your control over your environment.
You need to explain to her that you are attempting never to give in to the temptation of eating get the wrong get food and leaving out chocolate cake undermines your resolve and is disrespectful.
If you manage to get that...