lock service not working

I recently bought a eufy lock (C220) and configured it using the HACS Eufy Security module. The problem is, it doesn’t respond to any of the lock.lock or lock.unlock service calls. It works fine on the dashboard, when using the UI to toggle the lock. Is there a way to do what the UI is doing - some sort of workaround - and automate this? I’m trying to have it lock when the door closes (another zigbee sensor). It doesn’t have to be through node red, as long as it works.

Thank you.

Hey Andrew, are you using nodered currently? It’s not necessary to use a lock. If you do use nodered, the action node would be used to control the lock. The actions used to control a lock can be found here. General examples of how to use NR with HA can be found here.

Hi, yes I am using nodered. I think that’s what I’m using.


Oh yes, it used to be called ‘call service’ but it’s been renamed ‘action’ some time ago. It used to work with my old lock, but the Eufy third-party integration seems to be having some issues when calling the action.

Oh I figured it out.
I was testing it in the developer tools section and found that it works when the target is set as the entity, not the device.

I’m not sure if this only happens with the Eufy integration, or all locks.

Device id for the most part should be avoided and not used. See this post for an explanation.