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

"No setup or config entry setup function defined" but I followed the setup instructions. #196

Open
CaliLuke opened this issue Jul 16, 2024 · 5 comments

Comments

@CaliLuke
Copy link

Describe the bug

I have a Tosot 9000 BTU mini split (TST-SU-MUSE-09K110-WF and TST-SU-MUSE-09K230-WF) and I'm trying to set it up with Home Assistant with no success so far. My configuration is as follows:

configuration.yaml

...
climate: !include climate.yaml
...

climate.yaml

- platform: gree
  name: Shed_AC
  host: 192.168.1.210
  port: 7000
  mac: "9424b8b38ea5"
  target_temp_step: 1
  encryption_version: 2
  uid: 0
  lights: input_boolean.shed_ac_lights
  xfan: input_boolean.shed_ac_xfan
  health: input_boolean.shed_ac_health
  sleep: input_boolean.shed_ac_sleep
  powersave: input_boolean.shed_ac_powersave

I'm getting this single error message in the logs:

Logger: homeassistant.setup
Source: setup.py:271
First occurred: July 14, 2024 at 12:56:18 PM (1 occurrences)
Last logged: July 14, 2024 at 12:56:18 PM

Setup failed for custom integration 'gree': No setup or config entry setup function defined.

full logs show a little more (see below). At this point I'm not sure what I'm doing wrong (if anything) but could use some help debugging.

Platform:

  • OS: Home Assistant 2024.7.2
  • Browser: Chrome
  • Version: 2.14.0

Logs

full logs.txt

@toughvj
Copy link
Contributor

toughvj commented Jul 17, 2024

sho your custom_component/gree folder content

@arybalint
Copy link

Same here with Fischer AC
Folder content is:

-rwxrwxrwx 0 Jul 17 12:39 init.py
drwxrwxrwx 264 Jul 17 12:41 pycache
-rwxrwxrwx 60368 Jul 17 12:39 climate.py
-rwxrwxrwx 245 Jul 17 12:39 manifest.json

@CaliLuke
Copy link
Author

Installed with HACS but this is it.

2024-07-17_10-29-05

Also checked the contents of the files, looks fine.

I just realized that I have an ENTITY for the conditioner and it works, but the extension doesn't seem to have added a device, hope that helps.

2024-07-17_10-29-43

@emapede
Copy link

emapede commented Aug 14, 2024

Where do you find the ip?

@hnzl62
Copy link

hnzl62 commented Nov 18, 2024

i have the same issue

Logger: homeassistant.setup
Zdroj: setup.py:269
První výskyt: 20:57:17 (1 výskyty)
Naposledy logováno: 20:57:17

Setup failed for custom integration 'gree': No setup or config entry setup function defined.

however everything works perfectly, i have the climate entity and i can control it

image

but no devices are shown under gree integration

image

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

5 participants