briis / hass-weatherflow2mqtt

WeatherFlow to MQTT for Home Assistant. Use UDP to get local weather data in to Home Assistant using MQTT Discovery
MIT License
129 stars 29 forks source link

Current conditions #204

Closed GlennGoddard closed 1 year ago

GlennGoddard commented 1 year ago

I'm in a brain fog at the moment, but I think I got most of the Current Conditions done; but you really need to check it out.

I only did the Current Conditions as the HA accepted input, I started on the Human Readable sensor but commented it out for now. I didn't feel like dealing with translations at the moment and I want to make sure Current Conditions works prior to calling it in another function.

Updated the ReadMe to reflect Current Conditions including a commented out call for HA to use local current conditions vice the one from the forecast.

I'm sure that something is missing, but my brain is just fried...too many other things going on.

briis commented 1 year ago

I had to correct quite a few Javascript to Python errors and also add some more code to get it to start. It is now creating the sensor, but keeps failing in current_conditions helper functions. You should get errors in the docker log.

Please have a look at that when you have time.