1
mirror of https://github.com/home-assistant/core synced 2024-09-03 08:14:07 +02:00
ha-core/homeassistant/components/fritz/services.yaml
Timo S d6693cdff9
Add fritz set guest wifi password service (#62892)
* Add a new service set_guest_wifi_password to the fritz integration.

* Remove unnecessary params defaults

* Remove default password length

* Add service schema, cleanup code

* Fix min password length in services.yaml

* Move schema to `services.py`, add typing

* Add default password length from upstream lib

* Remove None typing

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2022-02-04 08:57:14 +01:00

65 lines
1.8 KiB
YAML

reconnect:
description: Reconnects your FRITZ!Box internet connection
fields:
device_id:
name: Fritz!Box Device
description: Select the Fritz!Box to reconnect
required: true
selector:
device:
integration: fritz
entity:
device_class: connectivity
reboot:
description: Reboots your FRITZ!Box
fields:
device_id:
name: Fritz!Box Device
description: Select the Fritz!Box to reboot
required: true
selector:
device:
integration: fritz
entity:
device_class: connectivity
cleanup:
description: Remove FRITZ!Box stale device_tracker entities
fields:
device_id:
name: Fritz!Box Device
description: Select the Fritz!Box to check
required: true
selector:
device:
integration: fritz
entity:
device_class: connectivity
set_guest_wifi_password:
name: Set guest wifi password
description: Set a new password for the guest wifi. The password must be between 8 and 63 characters long. If no additional parameter is set, the password will be auto-generated with a length of 12 characters.
fields:
device_id:
name: Fritz!Box Device
description: Select the Fritz!Box to check
required: true
selector:
device:
integration: fritz
entity:
device_class: connectivity
password:
name: Password
description: New password for the guest wifi
required: false
selector:
text:
length:
name: Password length
description: Length of the new password. The password will be auto-generated, if no password is set.
required: false
selector:
number:
min: 8
max: 63