home-assistant.io/source/_integrations/blinksticklight.markdown
2024-11-27 18:57:16 +01:00

52 lines
1.2 KiB
Markdown

---
title: BlinkStick
description: Instructions on how to setup Blinkstick lights within Home Assistant.
ha_category:
- DIY
ha_release: 0.7.5
ha_iot_class: Local Polling
ha_domain: blinksticklight
ha_platforms:
- light
ha_integration_type: integration
related:
- docs: /docs/configuration/
title: Configuration file
ha_quality_scale: legacy
---
The `blinkstick` platform lets you control your [Blinkstick](https://www.blinkstick.com/) lights from within Home Assistant.
## Setup
To use your Blinkstick, you need to allow the access to the device for [non-root users](https://github.com/arvydas/blinkstick-python#permission-problems-in-linux-and-mac-os-x).
```bash
sudo blinkstick --add-udev-rule
```
## Configuration
To add a Blinkstick to your installation, add the following to your {% term "`configuration.yaml`" %} file.
{% include integrations/restart_ha_after_config_inclusion.md %}
```yaml
# Example configuration.yaml entry
light:
- platform: blinksticklight
serial: BS000795-1.1
```
{% configuration %}
serial:
description: The serial number of your stick.
required: true
default: 640
type: string
name:
description: Name of the stick.
required: false
type: string
default: Blinkstick
{% endconfiguration %}