j5lien / esphome-idasen-desk-controller

ESPHome component for Ikea Idasen desk control
MIT License
187 stars 36 forks source link

Added kwargs to sensor_schema #46

Closed arevaclier closed 1 year ago

arevaclier commented 2 years ago

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.

hoborm commented 2 years ago

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?