mirror of
https://github.com/sascha-hemi/esphome-ikea-led-matrix.git
synced 2026-03-20 23:04:11 +01:00
[PR #2] [MERGED] Fix for current ESPHome version syntax #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/sascha-hemi/esphome-ikea-led-matrix/pull/2
Author: @leandroebner
Created: 4/7/2024
Status: ✅ Merged
Merged: 9/9/2024
Merged by: @sascha-hemi
Base:
master← Head:master📝 Commits (4)
9fccffffix compilation error if display is trying to register as component01cd3b0DisplayBuffer now automatically inherits from PollingComponent1660e86Update display.py5cd045aMerge pull request #1 from leandroebner/leandroebner-patch-1📊 Changes
2 files changed (+9 additions, -1 deletions)
View changed files
📝
components/frekvens_panel/display.py(+2 -1)📝
components/frekvens_panel/frekvens-panel.h(+7 -0)📄 Description
Hi, the current ESPHome version requires different syntax for the display component. To be able to use this script independent from the version, an added library checks the current utilized ESPHome version and the syntax get's adapted to the necessary form.
I only fixed it for the Ikea Frekvens Panel, due the reason that's the only hardware I can verify my working code with. The procedure for the Obegränsad should be the same.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.