{ lib, buildHomeAssistantComponent, fetchFromGitHub, msmart-ng, pytestCheckHook, pytest-homeassistant-custom-component, }: buildHomeAssistantComponent rec { owner = "mill1000"; domain = "midea_ac"; version = "2025.9.1"; src = fetchFromGitHub { owner = "mill1000"; repo = "midea-ac-py"; tag = version; hash = "sha256-fmVX+b7x4+172+mcJ8+LFhljQEQrhLFXwXn6eI1f36Y="; }; dependencies = [ msmart-ng ]; nativeCheckInputs = [ pytest-homeassistant-custom-component pytestCheckHook ]; meta = with lib; { changelog = "https://github.com/mill1000/midea-ac-py/releases/tag/${src.tag}"; description = "Home Assistant custom integration to control Midea (and associated brands) air conditioners via LAN"; homepage = "https://github.com/mill1000/midea-ac-py"; license = licenses.mit; maintainers = with maintainers; [ hexa emilylange ]; }; }