I saw a military pundit say the opposite: this is planted by Iran for 2 reasons:
create paranoia to help crack down on society (e.g. “suspicious maids”)
dismiss the idea that Israel is able to find out where and when to hit a target to the minute with extreme precision (through a window, which would look like a bomb exploded from the inside instead of just a maid planting a bomb) and possibly taking an f35-style stealth aircraft into Iranian airspace close to Tehran undetected.