HomeAssistant-GreeClimateComponent
HomeAssistant-GreeClimateComponent copied to clipboard
Add autodiscovery to Gree config flow
Summary
- support device autodiscovery when setting up integration
- require
greeclimatelibrary - document autodiscovery in README and info
Testing
python -m py_compile custom_components/gree/config_flow.pypytest -qpython -m compileall -q custom_components/gree
https://chatgpt.com/codex/tasks/task_e_6841ae7f44748321bfbbdeb617aaf956
I'm unable to test this one. My devices are in different subnets, so i'm seeing this:
2025-06-06 01:11:32.862 INFO (MainThread) [custom_components.gree.config_flow] Starting Gree device discovery for config flow
2025-06-06 01:11:32.863 INFO (MainThread) [custom_components.gree.config_flow] Scanning network for Gree devices ...
2025-06-06 01:11:34.869 INFO (MainThread) [custom_components.gree.config_flow] Discovery finished with 0 device(s) found
2025-06-06 01:11:34.869 INFO (MainThread) [custom_components.gree.config_flow] No devices discovered, showing manual configuration form
2025-06-06 01:11:34.869 INFO (MainThread) [custom_components.gree.config_flow] Showing manual configuration form
If anyone is able to test this (and share some screenshots :)), that would be awesome.
Tagging @ardeus-ua because of https://github.com/RobHofmann/HomeAssistant-GreeClimateComponent/issues/52.
Let me know :).
asking @spacerokk @Riffaells for some help.
Could you guys give this a try? :)
Yeah, I'll give it a shot.
Outdated branch now. Closing this.