prasad-edlabadka / homebridge-tuya-ir

Allows homebridge to control Tuya Smart IR based devices
Apache License 2.0
51 stars 22 forks source link

Deleting Cached Items #52

Closed sodolocke closed 2 years ago

sodolocke commented 2 years ago

Is there a way to delete remotes that are no longer in the tuya cloud? Currently it pulls from the cache so old remotes are still there.

sodolocke commented 2 years ago

I uninstalled and reinstalled the plugin and got it to remove the cache, it would be nice to be able to flag a ir device to clear its child devices from cache

Love the plugin

prasad-edlabadka commented 2 years ago

Homebridge UI provides you option to remove accessories. But I will take it as a feature request to automatically remove remotes that are deleted from the config.

sodolocke commented 2 years ago

I think deleting from config staying in cache is fine, more of an issue of deleted from tuya app/cloud but then staying cache.

prasad-edlabadka commented 2 years ago

Fixed in v1.0.0. it's published as beta right now. Please let me know the feedback.