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

Use new sub entries to separate integration config from device config

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

Description

In HA 2025.7.0, the ability to have sub-entries of config entries was introduced. This is useful for having an integration-wide config for things like enabling discovery, persistent storage of cloud credentials, while using a sub-entry for each device. This would replace the config entry per device we have currently, with no shared integration-wide config.

Steps to reproduce

No response

Expected behaviour

No response

Additional context

No response

Confirmation

  • [x] I am sure this is a bug or improvement, that is well enough described that it can be implemented.

  • [x] This report is for tuya-local, not for localtuya.

  • [ ] If this is for a specific device, the device config filename is mentioned above, or diagnostics are included.

  • [ ] Log messages or diagnostics relevant to the issue are included.

  • [x] This is not requesting addition of a new device.

make-all avatar Jul 17 '25 09:07 make-all