Button/rfid reader to automate home or away

Hi there, relatively new to all this and just setting up my new home assistant. I was wondering if there is a smart button available that I could set up so that when leaving my house I can tap it once and it automates switching off lights etc, then when i get back, i touch it again and it switches on certain lights radio etc. any help would be great. thanks

There are ZigBee buttons, I would recommend to use if you already use or plan to use ZigBee.

If you are looking for a WiFi option I would suggest to use a tasmota device like this: Touch Switch (1x) Tasmota

You can then create an automation in HA which turns off all lights when the switch is pressed.