1 line
13 KiB
JSON
1 line
13 KiB
JSON
{"repo": "brunojurkovic/ha-deepseek-integration", "files": {"README.md": {"6f35f45d429c2d021045cd7c50506c47a444a858": {"t": 1785746366.4797835, "n": 2615, "h": "e08126ab859971ce", "c": "# DeepSeek Integration for Home Assistant\n\nThis custom integration for Home Assistant allows you to interact with DeepSeek AI models directly from your smart home.\n\n## Features\n\n- Call DeepSeek AI models from Home Assistant services\n- Configure your API key securely through the UI\n- Simple service to generate text based on prompts\n\n## Installation\n\n### Manual Installation\n\n1. Copy the `custom_components/deepseek` directory to your Home Assistant `custom_components` directory.\n2. Restart Home Assistant.\n3. Go to **Configuration** → **Integrations** and click the \"+\" button.\n4. Search for \"DeepSeek\" and follow the configuration steps.\n\n### HACS Installation (Future)\n\n1. Make sure you have [HACS](https://hacs.xyz/) installed.\n2. Go to HACS → Integrations → \"Explore & Download Repositories\"\n3. Search for \"DeepSeek\" and install it.\n4. Restart Home Assistant.\n5. Go to **Configuration** → **Integrations** and click the \"+\" button.\n6. Search for \"DeepSeek\" and follow the configuration steps.\n\n## Configuration\n\n1. You need a DeepSeek API key to use this integration.\n2. During setup, you'll need to provide:\n - **API Key**: Your DeepSeek API key\n - **Model**: The model you want to use (default is `deepseek-chat`)\n - **Base URL**: The API endpoint (default is `https://api.deepseek.com/v1`)\n\n## Technical Details\n\nThis integration uses the OpenAI Python client to communicate with DeepSeek's API, as DeepSeek provides an OpenAI-compatible API endpoint. We configure the OpenAI client to use DeepSeek's base URL instead of OpenAI's.\n\n## Usage\n\nThis integration provides a service called `deepseek.generate_text` that you can call from automations, scripts, or the Developer Tools.\n\nExample service call:\n\n```yaml\nservice: deepseek.generate_text\ndata:\n prompt: \"Write a short poem about smart homes.\"\n```\n\n### Using in Automations\n\nThe service returns the AI's response, which you can capture and use in subsequent actions.\n\nExample in an automation YAML:\n\n```yaml\naction:\n - service: deepseek.generate_text\n data:\n prompt: \"Write a short poem about my smart home.\"\n response_variable: ai_response\n - service: notify.mobile_app\n data:\n title: \"DeepSeek Poem\"\n message: \"{{ ai_response.response }}\"\n```\n\nFor detailed examples including:\n- Visual Editor setup instructions\n- More complex automations\n- Different use cases\n\nSee the `example_automation.yaml` and `example_automation_editor.md` files in this repository.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Disclaimer\n\nThis project is not affiliated with DeepSeek AI."}, "9d51cdb6c3aff3dc6063b5edc016194f83a87b59": {"t": 1785762738.317035, "n": 2606, "h": "69c65a08190cf481", "c": "# DeepSeek Integration for Home Assistant\n\nThis custom integration for Home Assistant allows you to interact with DeepSeek AI models directly from your smart home.\n\n## Features\n\n- Call DeepSeek AI models from Home Assistant services\n- Configure your API key securely through the UI\n- Simple service to generate text based on prompts\n\n## Installation\n\n### Manual Installation\n\n1. Copy the `custom_components/deepseek` directory to your Home Assistant `custom_components` directory.\n2. Restart Home Assistant.\n3. Go to **Configuration** → **Integrations** and click the \"+\" button.\n4. Search for \"DeepSeek\" and follow the configuration steps.\n\n### HACS Installation (Future)\n\n1. Make sure you have [HACS](https://hacs.xyz/) installed.\n2. Go to HACS → Integrations → \"Explore & Download Repositories\"\n3. Search for \"DeepSeek\" and install it.\n4. Restart Home Assistant.\n5. Go to **Configuration** → **Integrations** and click the \"+\" button.\n6. Search for \"DeepSeek\" and follow the configuration steps.\n\n## Configuration\n\n1. You need a DeepSeek API key to use this integration.\n2. During setup, you'll need to provide:\n - **API Key**: Your DeepSeek API key\n - **Model**: The model you want to use (default is `deepseek-chat`)\n - **Base URL**: The API endpoint (default is `https://api.deepseek.com/v1`)\n\n## Technical Details\n\nThis integration uses the OpenAI Python client to communicate with DeepSeek's API, as DeepSeek provides an OpenAI-compatible API endpoint. We configure the OpenAI client to use DeepSeek's base URL instead of OpenAI's.\n\n## Usage\n\nThis integration provides a service called `deepseek.generate_text` that you can call from automations, scripts, or the Developer Tools.\n\nExample service call:\n\n```yaml\nservice: deepseek.generate_text\ndata:\n prompt: \"Write a short poem about smart homes.\"\n```\n\n### Using in Automations\n\nThe service returns the AI's response, which you can capture and use in subsequent actions.\n\nExample in an automation YAML:\n\n```yaml\naction:\n - service: deepseek.generate_text\n data:\n prompt: \"Write a short poem about my smart home.\"\n response_variable: ai_response\n - service: notify.mobile_app\n data:\n title: \"DeepSeek Poem\"\n message: \"{{ ai_response }}\"\n```\n\nFor detailed examples including:\n- Visual Editor setup instructions\n- More complex automations\n- Different use cases\n\nSee the `example_automation.yaml` and `example_automation_editor.md` files in this repository.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Disclaimer\n\nThis project is not affiliated with DeepSeek AI."}, "f96e4e2e144691e421505543b969d94919937100": {"t": 1785762739.9365191, "n": 2615, "h": "d71a8f33245d9fa4", "c": "# DeepSeek Integration for Home Assistant\n\nThis custom integration for Home Assistant allows you to interact with DeepSeek AI models directly from your smart home.\n\n## Features\n\n- Call DeepSeek AI models from Home Assistant services\n- Configure your API key securely through the UI\n- Simple service to generate text based on prompts\n\n## Installation\n\n### Manual Installation\n\n1. Copy the `custom_components/deepseek` directory to your Home Assistant `custom_components` directory.\n2. Restart Home Assistant.\n3. Go to **Configuration** → **Integrations** and click the \"+\" button.\n4. Search for \"DeepSeek\" and follow the configuration steps.\n\n### HACS Installation (Future)\n\n1. Make sure you have [HACS](https://hacs.xyz/) installed.\n2. Go to HACS → Integrations → \"Explore & Download Repositories\"\n3. Search for \"DeepSeek\" and install it.\n4. Restart Home Assistant.\n5. Go to **Configuration** → **Integrations** and click the \"+\" button.\n6. Search for \"DeepSeek\" and follow the configuration steps.\n\n## Configuration\n\n1. You need a DeepSeek API key to use this integration.\n2. During setup, you'll need to provide:\n - **API Key**: Your DeepSeek API key\n - **Model**: The model you want to use (default is `deepseek-chat`)\n - **Base URL**: The API endpoint (default is `https://api.deepseek.com/v1`)\n\n## Technical Details\n\nThis integration uses the OpenAI Python client to communicate with DeepSeek's API, as DeepSeek provides an OpenAI-compatible API endpoint. We configure the OpenAI client to use DeepSeek's base URL instead of OpenAI's.\n\n## Usage\n\nThis integration provides a service called `deepseek.generate_text` that you can call from automations, scripts, or the Developer Tools.\n\nExample service call:\n\n```yaml\nservice: deepseek.generate_text\ndata:\n prompt: \"Write a short poem about smart homes.\"\n```\n\n### Using in Automations\n\nThe service returns the AI's response, which you can capture and use in subsequent actions.\n\nExample in an automation YAML:\n\n```yaml\naction:\n - service: deepseek.generate_text\n response_variable: ai_response\n data:\n prompt: \"Write a short poem about my smart home.\"\n - service: notify.mobile_app\n data:\n title: \"DeepSeek Poem\"\n message: \"{{ ai_response.response }}\"\n```\n\nFor detailed examples including:\n- Visual Editor setup instructions\n- More complex automations\n- Different use cases\n\nSee the `example_automation.yaml` and `example_automation_editor.md` files in this repository.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Disclaimer\n\nThis project is not affiliated with DeepSeek AI."}, "260b9dbb4df273d60bf6c840f3b5316ee93ef6dc": {"t": 1785762742.8998592, "n": 2366, "h": "c46e17f9f59a25c5", "c": "# DeepSeek Integration for Home Assistant\n\nThis custom integration for Home Assistant allows you to interact with DeepSeek AI models directly from your smart home.\n\n## Features\n\n- Call DeepSeek AI models from Home Assistant services\n- Configure your API key securely through the UI\n- Simple service to generate text based on prompts\n\n## Installation\n\n### Manual Installation\n\n1. Copy the `custom_components/deepseek` directory to your Home Assistant `custom_components` directory.\n2. Restart Home Assistant.\n3. Go to **Configuration** → **Integrations** and click the \"+\" button.\n4. Search for \"DeepSeek\" and follow the configuration steps.\n\n### HACS Installation (Future)\n\n1. Make sure you have [HACS](https://hacs.xyz/) installed.\n2. Go to HACS → Integrations → \"Explore & Download Repositories\"\n3. Search for \"DeepSeek\" and install it.\n4. Restart Home Assistant.\n5. Go to **Configuration** → **Integrations** and click the \"+\" button.\n6. Search for \"DeepSeek\" and follow the configuration steps.\n\n## Configuration\n\n1. You need a DeepSeek API key to use this integration.\n2. During setup, you'll need to provide:\n - **API Key**: Your DeepSeek API key\n - **Model**: The model you want to use (default is `deepseek-chat`)\n - **Base URL**: The API endpoint (default is `https://api.deepseek.com/v1`)\n\n## Technical Details\n\nThis integration uses the OpenAI Python client to communicate with DeepSeek's API, as DeepSeek provides an OpenAI-compatible API endpoint. We configure the OpenAI client to use DeepSeek's base URL instead of OpenAI's.\n\n## Usage\n\nThis integration provides a service called `deepseek.generate_text` that you can call from automations, scripts, or the Developer Tools.\n\nExample service call:\n\n```yaml\nservice: deepseek.generate_text\ndata:\n prompt: \"Write a short poem about smart homes.\"\n```\n\nExample in an automation:\n\n```yaml\nautomation:\n - alias: \"Generate Smart Home Poem at 8 AM\"\n trigger:\n platform: time\n at: \"08:00:00\"\n action:\n - service: deepseek.generate_text\n data:\n prompt: \"Write a short poem about my smart home.\"\n - service: notify.mobile_app\n data:\n message: \"{{ states('deepseek.generate_text') }}\"\n```\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Disclaimer\n\nThis project is not affiliated with DeepSeek AI."}, "de380361e0fda55378bddc50e49d13585519883b": {"t": 1785762745.276137, "n": 1633, "h": "24bb96fec844f847", "c": "# DeepSeek Integration for Home Assistant\n\nThis custom integration for Home Assistant allows you to interact with DeepSeek AI models directly from your smart home.\n\n## Features\n\n- Call DeepSeek AI models from Home Assistant services\n- Configure your API key securely through the UI\n- Simple service to generate text based on prompts\n\n## Installation\n\n### Manual Installation\n\n1. Copy the `custom_components/deepseek` directory to your Home Assistant `custom_components` directory.\n2. Restart Home Assistant.\n3. Go to **Configuration** → **Integrations** and click the \"+\" button.\n4. Search for \"DeepSeek\" and follow the configuration steps.\n\n### HACS Installation (Future)\n\n1. Make sure you have [HACS](https://hacs.xyz/) installed.\n2. Go to HACS → Integrations → \"Explore & Download Repositories\"\n3. Search for \"DeepSeek\" and install it.\n4. Restart Home Assistant.\n5. Go to **Configuration** → **Integrations** and click the \"+\" button.\n6. Search for \"DeepSeek\" and follow the configuration steps.\n\n## Configuration\n\n1. You need a DeepSeek API key to use this integration.\n2. During setup, enter your API key and optionally specify the model you want to use.\n3. The default model is `deepseek-chat`.\n\n## Usage\n\nThis integration provides a service called `deepseek.generate_text` that you can call from automations, scripts, or the Developer Tools.\n\nExample service call:\n\n```yaml\nservice: deepseek.generate_text\ndata:\n prompt: \"Write a short poem about smart homes.\"\n```\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Disclaimer\n\nThis project is not affiliated with DeepSeek AI."}}}} |