Bluetooth-Devices / bthome-ble

Parser for BTHome BLE devices
https://bthome.io/
MIT License
71 stars 15 forks source link

Simplify parsing using guard clauses #3

Closed balloob closed 2 years ago

balloob commented 2 years ago

Use guard clauses by turning if-statements that span most of the rest of the code into if not X: continue.