peted-davis / WeatherFlow_PiConsole

Raspberry Pi Python console for WeatherFlow Tempest and Smart Home Weather Stations
GNU General Public License v3.0
155 stars 20 forks source link

Crash after tap lightning #52

Closed KrunchMuffin closed 2 years ago

KrunchMuffin commented 2 years ago

Describe the bug New station. Clicked lighting tab and crashed.

To Reproduce Steps to reproduce the behavior: Tapping lightning tab with new station.

Screenshots IMG_20220326_010052

Hardware/OS/Version (please complete the following information):

Additional context I know Python, but not Kivy. I was going to fix it but figured I'd post. I don't know if you can do it, but I think it should be app.CurrentConditions.Obs['StrikeDeltaT'][4] is not None and...

peted-davis commented 2 years ago

Thanks for the report. You're right that I need to check for the None condition. I will get this fixed in the next version

peted-davis commented 2 years ago

This should now be fixed in v22.3.3