Releases: pauln/esphome-linp-doorbell-g03
v0.5 - Dependency updates and bugfixes
- Queue library fully renamed to ArduinoQueue (#11) - thanks @Defensor7
- Fixes chime not being heard on first button press after boot (#13)
- Fixes volume setting not being retained when device is restarted
Note that the fix for #13 involves (re)setting the volume on boot, which means that the chime will now be played on boot. This implicitly fixes the (unreported) issue where the volume was resetting to the default on boot, which may not be the volume you'd set.
v0.4 - Config revamp
Thanks to some suggestions and help from @OttoWinter in the ESPHome Discord, the configuration has been simplified / tidied up.
Improvements to the config:
- All sensors are now optional
- It's now easier to choose which sensors to use
Volume
andTune Playing
sensors now have their own config blocks (not mixed withButton X Tune
sensors any more)Button X
binary_sensors andButton X Tune
sensors now have simplified lambdas, which cover any number of sensors
v0.3 - Automatic Home Assistant service registration
This release takes advantage of ESPHome 1.14's CustomAPIDevice
class to register Home Assistant services automatically (see README for a list of services), simplifying the yaml configuration considerably (by removing the need for global variables and scripts, as well as the service definitions).
v0.2 - Home Assistant Events
This release adds automatic publishing of Home Assistant events on button presses and chimes.
The following HA events are generated on the applicable doorbell events:
"event_type": "esphome.linp_doorbell_button_pressed",
"data": {
"button": "1"
},
"event_type": "esphome.linp_doorbell_tune_played",
"data": {
"tune": "1"
},
Note that button
is a number from 1
to 10
, and tune
is a number from 1
to 36
.
Binary sensors for the buttons are still available, if you want to use them for on-node ESPHome automations - but they're now optional, so can be safely removed from your yaml file if the Home Assistant events are sufficient for your purposes.
v0.1 - Initial release
This is the initial public release. It was written for ESPHome v1.13.x, and has also been tested on the freshly-released ESPHome v1.14.
This release uses binary sensors for the button presses, and toggles those sensors' states quite rapidly to on
and then off
again when a button is pressed. ESPHome v1.14 has included (and/or documented) the ability to generate Home Assistant events, so the binary sensors will be replaced with HA events for the next release of this project.