Tricky. Many tips that work for others can’t work due to your personal circumstances and especially your personality. I never could wait a day with eating something, often not even 10 minutes. After 10 years on low-carb, I may wait for a day but only if I don’t get some cooking experiment compulsion 
Sometimes it’s better if you stay away from things and are determined not to come back them any time soon, sometimes you need to be stricter than before. If I am lax or think I will eat carbs in a few days anyway, I tend to think it’s silly to wait. And it’s odd as I basically never desire carbs. I am just curios or lack proper food or my grapes are in season (it’s not necessarily a problem, I have this “summer carnivore-ish” abnormal style where my own fruits are allowed but most of my carbs come from animal products. I could call it keto but then I would eat too much carbs as that’s how I work when allowing eating plants. our mind has its things, I figured out what works for mine at the moment. I tend to dislike 100% and severe restrictions. surely many people are like this: being too lax is bad, being too strict is bad).
I love my own little challenges and own rules. And own special allowances
And trying or making new recipes. I must have my fun! So I do and try new things, sometimes a different woe (there are very different keto styles and we aren’t necessarily on our ideal one right away), try to keep my balance… And sometimes I fail, oh well, be it a single day only (it’s the smallest unit for me) and not even a crazy one and it’s still fine. And not way too often either. But these come with time. I slowly change for the better as the years pass. I blame carbs for the slowness, things quicken up when I really lower them.
I bake and cook carby food all the time, it’s no problem but that part needs time too. Exposed to carby food may desensitize us (it was quick with food I didn’t even consider food or didn’t like to begin with…) but it may trigger problematic behavior… We simply don’t cook carby but tempting-for-me food when I really want to stay on keto
I am lucky as it’s not even a compromise but a consensus, we are both happy with our food.
So… You need to find your own methods as we work very differently and we ourselves find different things too strict or too lax at different times on keto.
Challenge is nice. I plan a carnivore(-ish, I am highly optimistic and know the power of my determination but still) November since months and I am stubborn. This gives me a huge push! I will do Zornfast this week, it always gives me a little push
Fasting is a very good way to keep my carbs lower but it’s not the main reason I do it. Fasting is normal to me, not EF but one can do ZornFast without EF, it’s flexible. These things may help or be fun or something. If I feel I lose some fun from my woe, I need to add something. I did that as a newbie ketoer too. I felt so restricted even after my low-carb years. So I added little luxuries (carby ones, of course
it was logical to me. it helped my rebellious self who HATES feeling restricted), tried different things and when I felt I can’t stand this low carb intake, I went lower for a day or two
I never considered my originally generous carb limit really low again…
I can’t help with temptations as I don’t resist real temptations. I must avoid them.
Weak ones? I persuade myself, it’s not hard, I have good keto food and it feels better. I am a hedonist, that’s why left high-carb for good, low-carb solved a lot of problems and created none. Keto is stricter but it’s still easy if I want to do it myself… It makes no sense to ruin a few days of mine. Even if your carb cravings or compulsions without real desire or even joy in the process (those are the worst) can’t think straight. That’s why you have a working human brain, to sort things out, not just giving in.
Maybe you have some trigger, I mean, you get cravings because you ate something even if it’s still keto? In that case, being stricter may help. That’s the main reason I avoid vegetables (except in super tiny amounts). Carbs mess with me. Or maybe you eat some keto sweets and it gives your brain ideas…
I hope you will find something to make things better…