zewelor / bt-mqtt-gateway

A simple Python script which provides a Bluetooth to MQTT gateway, easily extensible via custom workers. See https://github.com/zewelor/bt-mqtt-gateway/wiki for more information.
MIT License
549 stars 116 forks source link

Am43 improvements pt3 #234

Closed andrey-yantsen closed 2 years ago

andrey-yantsen commented 2 years ago

Description

I built this PR on top of #233, to reduce conflicts during the merge. I decided to make it a separate PR because the timer-related changes are extremely ugly implemented. At least in terms of HomeAssistant autodiscovery.

I'm open to ideas, how to make it better :)

Type of change

Please delete options that are not relevant.

zewelor commented 2 years ago

Is it ready to review ? Please rebase on master, to reduce code size to review.

andrey-yantsen commented 2 years ago

@zewelor yup, it's ready. Using this code in my house for the 2nd day :D Rebased on master, please take a look.

zewelor commented 2 years ago

Nice ! LGTM