Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.

Added kwargs to sensor_schema #46

Merged
merged 1 commit into from
Nov 6, 2022
Merged

Added kwargs to sensor_schema #46

merged 1 commit into from
Nov 6, 2022

Conversation

arevaclier
Copy link

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
Copy link

hoborm commented Apr 23, 2022

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?

@j5lien j5lien merged commit 1931c66 into j5lien:1.2 Nov 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants