Add integration page for egps. (#31842)

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
Mischa Siekmann 2024-04-30 10:02:11 +02:00 committed by Franck Nijhof
parent 8dd5049487
commit e195e9a14f
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

View File

@ -0,0 +1,42 @@
---
title: Energenie Power-Sockets
description: Instructions on how to integrate Energenie Power-Strip switches into Home Assistant.
ha_category:
- Switch
ha_iot_class: Local Polling
ha_release: '2024.5'
ha_codeowners:
- '@gnumpi'
ha_domain: energenie_power_sockets
ha_platforms:
- switch
ha_integration_type: integration
---
The **Energenie Power-Sockets** {% term integration %} allows you to include [Energenie USB Power-Sockets](https://energenie.com/item.aspx?id=7556&lang=de) into your Home Assistant setup.
{% include integrations/config_flow.md %}
## Troubleshooting
If you are running a {% term "Home Assistant Core" %} or {% term "Home Assistant Container" %} installation: Depending on your system configuration, it may be necessary to grant explicit user access rights to the USB device by creating an udev rule.
{% details "Creating an udev rule" %}
1. Find the *vendor_id* and *product_id* of the USB device by calling `lsusb`:
```bash
lsusb
#e.g.: Bus 001 Device 005: ID 04b4:fd15 Cypress Semiconductor Corp. Energenie EG-PMS2
```
2. Create an udev rule by calling:
```bash
sudo echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="04b4", ATTR{idProduct}=="fd15", MODE="0666"' > /lib/udev/rules.d/60-energenie-usb.rules
sudo udevadm control --reload-rules
sudo udevadm trigger
```
{% enddetails %}