In ESPHome 2022.3, a breaking changes introduces the use of kwargs for the sensor_schema() function. By specifying the parameters explicitely this PR makes the "legacy" desk component work with the change.
I've been using @arevaclier 's fork with the fix in it for a couple of days now and I see no issues with it. Can you take a look at the PR when you have the time @j5lien please?
Fixes issue #45
In ESPHome 2022.3, a breaking changes introduces the use of kwargs for the
sensor_schema()
function. By specifying the parameters explicitely this PR makes the "legacy" desk component work with the change.