HomeAssistant-GreeClimateComponent icon indicating copy to clipboard operation
HomeAssistant-GreeClimateComponent copied to clipboard

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

Open CaliLuke opened this issue 1 year ago • 4 comments

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

CaliLuke avatar Jul 16 '24 21:07 CaliLuke

sho your custom_component/gree folder content

toughvj avatar Jul 17 '24 04:07 toughvj

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

arybalint avatar Jul 17 '24 12:07 arybalint

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

CaliLuke avatar Jul 17 '24 17:07 CaliLuke

Where do you find the ip?

emapede avatar Aug 14 '24 22:08 emapede

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

hnzl62 avatar Nov 18 '24 20:11 hnzl62

Try using the new config flow version (configure through the Home Assistant UI; make sure to remove the YAML ones first & reboot your Home Assistant).

Closing this now. Feel free to reopen if needed.

RobHofmann avatar Jun 09 '25 14:06 RobHofmann

thanks! this has worked and works even better now :) before i did not have current temperature reading as well as setting temperature by 0,5 steps, thanks!

hnzl62 avatar Jun 19 '25 06:06 hnzl62