Skip to content

Latest commit

 

History

History
61 lines (50 loc) · 1.61 KB

File metadata and controls

61 lines (50 loc) · 1.61 KB

Lark (飛書) Integration for Home Assistant

Connect your Home Assistant instance with Lark/Feishu for bidirectional communication.

Features

  • Send notifications from Home Assistant to Lark (text, images, interactive cards)
  • Receive commands from Lark to trigger Home Assistant automations
  • Interactive buttons in cards that execute Home Assistant services
  • Multi-language support (English, 繁體中文, 简体中文)
  • Easy setup through UI configuration flow

Quick Start

  1. Create a Lark bot application at Lark Open Platform
  2. Install this integration via HACS
  3. Add the integration in Home Assistant Settings → Integrations
  4. Enter your App ID and App Secret
  5. Select default notification targets
  6. Start sending notifications and receiving commands!

Example Usage

Send a notification:

action: notify.lark
data:
  message: "Hello from Home Assistant!"

Interactive card with buttons:

action: notify.lark
data:
  title: "🔔 Doorbell"
  message: "Someone is at the door"
  data:
    image_url: "http://camera/snapshot.jpg"
    buttons:
      - text: "Open Door"
        action: lock.unlock
        entity_id: lock.front_door

Control from Lark:

automation:
  - alias: "Turn on lights from Lark"
    trigger:
      - platform: event
        event_type: lark_command
        event_data:
          text: "開燈"
    action:
      - action: light.turn_on
        entity_id: light.living_room

Documentation

For full documentation, visit the GitHub repository.