core: Switchbot Lock very slow response

The problem

I re-installed HA with the latest code. Most things work very well on this ‘clean’ system, but my Switchbot Lock is very slow to respond to a un/lock command. Responses range from 10-20 seconds after a command is issued.

If I immediately issue another un/lock command, the response if quick. In summary, it seems that the lock sleeps after a bit when no commands are issued to it.

Also, my previous installation had no issues with the delay in response. I was running 1-2 versions back I believe?

I have tried re-installing hardware and software with the same results. Switchbot reported back to me stating that this is a Home Assistant issue.

What version of Home Assistant Core has the issue?

core-2023.4.6

What was the last working version of Home Assistant Core?

1 or 2 versions behind

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Switchbot

Link to integration documentation on our website

https://www.home-assistant.io/integrations/switchbot/

Diagnostics information

No diagnostic download available for the Switchbot integration.

Example YAML snippet

type: entities
entities:
  - entity: lock.lock_69b3
state_color: true
title: Front Door Lock
show_header_toggle: false

Anything in the logs that might be useful for us?

Nothing reported in the logs.

Additional information

The lock unlocks/lock with out errors, but the issue is the delay in response making the unit almost unusable.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 34 (14 by maintainers)

Most upvoted comments

I’ll let the lock sit idle for a bit to reproduce the issue and post. Thanks for taking a look at this.