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

Add model to device info

Open FredrikM97 opened this issue 2 weeks ago • 4 comments

This allow to partly fix https://github.com/make-all/tuya-local/discussions/3474 and expose the manufacturer + model for other integrations.

This give a little more info on the device too: image

FredrikM97 avatar Dec 08 '25 18:12 FredrikM97

This is not exposing the model, it is incorrectly tying the config file to device constructor, and using a fake for the conection test, which is when such information would be most useful. I prefer to leave this until the connection rework when the change can be done correctly.

make-all avatar Dec 08 '25 22:12 make-all

I see, this was the closest I could come up with for any indication of the model. Any time line for the rework or anything yoy need help with?

FredrikM97 avatar Dec 09 '25 10:12 FredrikM97

Currently I am waiting for tinytuya to release 2.0.0 to begin the work, as that will anyway require a major rewrite.

make-all avatar Dec 09 '25 13:12 make-all

I see, looks like they just started with 2.0.0?

FredrikM97 avatar Dec 09 '25 13:12 FredrikM97

I'm going to close this, as bringing config info into the device creates circular references based on past experience, it is important to keep these separate.

make-all avatar Dec 16 '25 10:12 make-all