From f02f90c3fa4484787e5749bc060dabe2699ed463 Mon Sep 17 00:00:00 2001 From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com> Date: Sat, 21 Dec 2024 11:05:40 +0100 Subject: [PATCH] Testing new versioning --- ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml | 6 +----- components/tx_ultimate_easy/__init__.py | 1 + 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml b/ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml index 727af88..12ecd7d 100644 --- a/ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml +++ b/ESPHome/TX-Ultimate-Easy-ESPHome_core.yaml @@ -15,11 +15,7 @@ substitutions: name: tx-ultimate-easy friendly_name: TX Ultimate Easy - latitude: '0' - longitude: '0' - zone_home: 'zone.home' - - version: '0.0.4' + <<: !include ../versioning/VERSION_YAML TX_MODEL_FORMAT_EU_TEXT: "EU (Square, T5-xC-86)" TX_MODEL_FORMAT_US_TEXT: "US (Rectangle, T5-xC-120)" diff --git a/components/tx_ultimate_easy/__init__.py b/components/tx_ultimate_easy/__init__.py index 545ee57..3a598ad 100644 --- a/components/tx_ultimate_easy/__init__.py +++ b/components/tx_ultimate_easy/__init__.py @@ -98,6 +98,7 @@ async def register_tx_ultimate_easy(var, config): config[CONF_ON_LONG_TOUCH_RELEASE], ) + async def to_code(config): var = cg.new_Pvariable(config[CONF_ID]) await cg.register_component(var, config)