-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't compile #10
Comments
Did you clone the repo, or did you copy thermostat-number-minimal.yaml into your own esphome folder? If the latter, did you replace the link to the external component with the GitHub link like this? external_components:
source: github://arthurrump/esphome-opentherm@main Which version of esphome are you using? |
I just tried compiling this configuration in a fresh and empty folder using the latest esphome v2022.12.4: # An extremely minimal configuration which only enables you to set the boiler's
# water temperature setpoint as a number.
esphome:
name: thermostat-number-minimal
external_components:
source: github://arthurrump/esphome-opentherm@main
esp8266:
board: d1_mini
logger:
api:
ota:
wifi:
ap:
ssid: "Thermostat"
password: "MySecretThemostat"
captive_portal:
opentherm:
number:
- platform: opentherm
t_set:
name: "Boiler Control setpoint" This seems to work fine for me. The repo is indeed cloned into the |
Then the problem might be with Python, that it is somehow unable to load the project and thus esphome is unable to find the component. What version of Python are you running? I'm on 3.10 locally and CI is running on 3.9, but I might well be using Python features that are not available in earlier versions. |
Found the issue will trying to run generate_schema_docs.py Don't know why this missing module is required and not flagged as such when trying to compile the config yaml files. |
Seems this issue is rearing it's head again in ESPHome 2023.11. I rolled back to ESPHome 2023.10 and it works fine there. |
Yes, I confirm, got the "Component not found: opentherm." after the update to 2023.11.0. |
Fixed in ESPHome 2023.11.2 |
@wildekek I've updated the esphome but the issue is still existing Here is a validation error
And the config itself
|
Works only in |
Please help... I'm getting th error:
With this simple config:
|
@andreaconfa @ymatsiuk I've got it working by switching to another repo |
Hello, I have this error: with |
@Slevinoo , use |
Can't compile "Component not found: opentherm." ESPHome Current version: 2024.10.0
Didn't help. ~$ python3 --version use |
Not sure what I'm doing wrong but can't get this working:
when I run: esphome -v run thermostat-number-minimal.yaml
I get below
Whatever I do, can't get opentherm to be found.
In the same folder as my thermostat-number-minimal.yaml
there is also this tree folder with stuff brought in from git:
So git kinda works to bring in the repo source, but after that don't know why it still complains about opentherm not being found.
The text was updated successfully, but these errors were encountered: