Open KikeMendez opened 3 years ago
This should already work, see https://github.com/studioimaginaire/phue/blob/6882829e1d22bb38737a22cddb21a584a38be8b5/phue.py#L608
Hi natcl thank you for coming back, yeah I though that would work but it doesn't, actually i ended with an empty file. Setting the config_file_path means you need to have it pre configure before hand? Thanks again
Can you show your code ? I can’t see why this wouldn’t work.
-- lecaude.com studioimaginaire.com
Le 9 avr. 2021 à 16:49, Kike Mendez @.***> a écrit :
Reopened #183.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
I just had the same issue before I figured out my error. Note that you should not pass the path alone, but the filename as well. For your example, it would be:
config_file_path = "home/.folder/python_hue/.python_hue"
.
For all the other cases, the filename is joined. I would rename the parameter config_file_path
to config_file
to avoid confusion.
Hi There, I would like to have
.python_hue
in different location rather that the home default one.Ideally something like this would be awesome to have:
So instead of saving it on the home directory, saves it wherever the config_file_path is set to, if config_file_path is not set then use the default as it is at the moment.
Does the library have already something to achieve this? I have been looking but no luck so far.
Thanks