sahilchaddha / homebridge-yeelight-platform

Homebridge plugin for Yeelight Lights supporting Scenes/Moods/Color Flow/Custom Presets/Music Flow/Night Mode
MIT License
58 stars 7 forks source link

Cleaning old unused entires after config edit #15

Open phenomeus opened 5 years ago

phenomeus commented 5 years ago

Describe the bug I still the removed entries like "calm" "party" "police" etc after I cleaned the config and restarted homebridge service

Expected behavior the entries should go away :) please

i also started more or less the same discussion for another plugin but also as a general conversation about best practice to handle old unused entries after plugin deletion or reconfiguring the config file

https://github.com/nfarina/homebridge/issues/2120

iChUdY commented 5 years ago

My "waste" room is still filled with other unused scenes. Is there really no way to remove them?

iwonder-1618 commented 5 years ago

@sahilchaddha will be releasing a new version for the plugin, which should solve the issue. But if you are looking for a quicker hacky solution. You might want to remove .homebridge/accessories and .homebridge/persist folder.

phenomeus commented 5 years ago

this suggestion is not really a quick solution. its a step back because I have to config every entry over again. that is a lot and is not really helpful.

so i will wait for a plugin update. thanks in advance :)

iChUdY commented 5 years ago

Nah.. in no case can I remove .homebridge/accessories and .homebridge/persist folder.

Lon1st commented 5 years ago

@sahilchaddha will be releasing a new version for the plugin, which should solve the issue. But if you are looking for a quicker hacky solution. You might want to remove .homebridge/accessories and .homebridge/persist folder.

Is there an ETA for this release?

phenomeus commented 5 years ago

@sahilchaddha will be releasing a new version for the plugin, which should solve the issue. But if you are looking for a quicker hacky solution. You might want to remove .homebridge/accessories and .homebridge/persist folder.

when sir? :D

zabaya commented 5 years ago

If you download the app Controller for Homekit you can make backups for your accessoires and scenes. If you're tinkering with your home setting as much as i do it's worth the 8 euro for the premium version.

phenomeus commented 5 years ago

Backups are good but only can do a full restore. Homebridge now got the -R handle. This is already helping

sahilchaddha commented 5 years ago

On it.

phenomeus commented 4 years ago

ETA :D ?