Developer Tools Service - Where do I put the code?

Hi folks - in order to get the live stream working on my Eufy camera I need to go to Dev Tools & Services whenever I need to restart - the code is as below. Where would I integrate this within HA so I dont need to keep doing this? Thanks.

service: eufy_security.start_p2p_livestream
target:
entity_id: camera.doorbell

You can create an automation when to be triggered at home assistant startup.

FYI: I am the maintainer of eufy security integration, please do not start streaming immediately, please wait for couple of minutes after HA startup to start it. I am also not sure if p2p based stream can run indefinitely.

HI again - lol - most excellent and many thanks once again!

1 Like