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)