jugla / worldtidesinfocustom

world tides info custom component for home assistant
MIT License
28 stars 2 forks source link

Sensor not appearing #8

Closed wreuvers closed 3 years ago

wreuvers commented 3 years ago

I just cannot get the main Sensor to appear - I am using the exact code recommended ~~

I see the calls being made to the api image

And this is all I see in the States image

jugla commented 3 years ago

Thanks to have created the issue. Please can you give me :

Please can you give your log ? I suspect an unhandled exception: an extract is ok . The log is the file your_configuration_directory/home-assistant.log (i.e. at the same place as configuration.yaml )

jugla commented 3 years ago

Please can you check if the directory your_configuration_directory/www exists. If not, then you can create it. On linux , within your HA account, in your_configuration_directory : mkdir www Thanks in advance

wreuvers commented 3 years ago

Hi Jugla That worked - I created the directory called www and now I see the sensors and the image!!! Thanks - I really appreciate your hard work!!!!

jugla commented 3 years ago

Thanks a lot for your feed back. I prepare a release in order to create directory, if it does not exist

jugla commented 3 years ago

The release V2.5.2 is created to force the www directory creation