Skip to content
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

Setup failed for fht: Integration not found. #4

Closed
marcjohnen opened this issue Nov 15, 2022 · 6 comments
Closed

Setup failed for fht: Integration not found. #4

marcjohnen opened this issue Nov 15, 2022 · 6 comments
Assignees

Comments

@marcjohnen
Copy link

I got stuck installing the plugin. I created a directory "custom_components" in the hass config directory:
image
Added my fht config file to the configuration.yaml
image
Unzipped the module in the custom_components directory:
image
This is what the fht_heating folder looks like:
image

When I restart home assistant I get this error:
image

I'm running Home Assistant 2022.11.2 Frontend 20221108.0 - latest with docker-compose.

What am I doing wrong?

@Rsclub22
Copy link
Owner

Can you please try to integrate the whole section into the configuration.yaml without the extra file?

@multilan-tarek
Copy link
Collaborator

Hello Marc,

I also think the problem is with your inclusion of the configuration file.
See, in your log it says "fht" not found. The integration is called "fht_heating" and it got loaded.
It might work if you change "fht:" to "fht_heating:" but I'm not sure.

Home Assistant is generally picky about the configuration file.
The best and cleanest solution that I know works would be to put your climate related settings in a single file and include it like this:
climate: !include climate.yaml
The climate.yaml should of course not contain "climate:".
I think this is more or less a limitation of home assistant as the fht_heating integration is based on the generic climate integration. But don't take my word for this, there is probably a solution.

@Rsclub22
Copy link
Owner

As above said, i would instead use:
climate: !include climate.yaml in the configuration.yaml
and then paste in the climate,yaml this instead:

  - platform: fht_heating
    address: "192.168.0.237:8086"
    dev_name: "FHT_BEDROOM"

This solution worked for me with docker. Please try to implement that.

@marcjohnen
Copy link
Author

Thank you guys, I moved it to the configuration.yaml
image
I'm not getting any errors, but also I can't see any FHT integration
image

@multilan-tarek
Copy link
Collaborator

We didn't implemented the gui setup, so it will never show up in the integrations tab. At least back then when we wrote the code, the home assistant dev documentation was really bad and it probably still is. The code examples just didn't worked and we never figured out why.

But your climate entities should show up in the Entities page.

@marcjohnen
Copy link
Author

Yes, they show up.
image
Appreciate your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants