tuya-local icon indicating copy to clipboard operation
tuya-local copied to clipboard

Allow to reconfigure devices

Open make-all opened this issue 2 months ago • 0 comments

Discussed in https://github.com/make-all/tuya-local/discussions/3832

The reconfigure flow is a better match for updating the device config than the options flow that is currently used.

  • Options are stored separately from config, so they need to override the config, but config remains as original. Previously there have been bugs that caused the old config to reassert itself, breaking connections.
  • Reconfigure takes care of making sure the entities are reloaded, so issues with a persistent connection stopping the new config from being used immediately should be a thing of the past. The logic for disconnecting the connection should become simpler.
  • Reconfigure may be more obvious to users than Options for making changes to their connection details.

Originally posted by felipecrs October 11, 2025 It would be great if Tuya Local implemented the Reconfiguration Flow.

This would allow me to easily update the secret key when it changes.

make-all avatar Oct 12 '25 01:10 make-all