Kode ieu mangrupikeun conto pamundut pikeun mareuman bohlam LED pinter Xiaomi Mi ngalangkungan API Asisten Rumah: ``python ngimpor asisten rumah.api salaku haapi # Ganti "hideung_rumah_asisten_username" sareng asisten rumah anjeun # Ganti "hideung_rumah_asisten_password" sareng kecap akses Asisten Rumah anjeun # Ganti "hideung_piranti_name" sareng nami bohlam LED pinter Mi anjeun # Authorize pamundut ha_session = haapi.Session(username="hideung_rumah_asisten_username", password="hideung_rumah_asisten_password") # Ganti bohlam ha_session.call'turn_off_light {(idity_device': 'hideung_piranti_name' anjeun nganggo nami boh
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence