Calibrating Dimmers (e.g. Shelly Dimmer 2) in ESPHome?

Hi,

Does anybody know how to calibrate dimmers in ESPhome?

They recently added support for Shelly Dimmer 2 (Shelly dimmer 2 support · Issue #949 · esphome/feature-requests · GitHub and Add support for Shelly Dimmer 2 by rnauber · Pull Request #2954 · esphome/esphome · GitHub).

However, on the Shelly Dimmer STM firmware page in this issue they talk about how calibration is done in the Tasmota layer (or ESPHome, I assume in this case).

Does anybody know how to do this in ESPHome?

These things work perfectly in HA, is there some particular reason you are wanting to flash?

ESPHome would support things like WPA-EAP (Enterprise/802.1x), which I use in my network, and which is currently not supported by either the stock Shelley firmware, or by Tasmota.

It potentially also makes things like managing these devices at scale easier.

Don’t you find that you can’t really use “transition” parameter in home assistant service call? Also, if you use brightness_step parameter, you will likely to find the transition disappears. I’m not sure if you have the same issue, but I can’t find a solution to it atm.