mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Fritz deprecate services for button entities (#20725)
This commit is contained in:
parent
d7b990fb82
commit
24c4bca7f4
@ -15,6 +15,7 @@ ha_codeowners:
|
|||||||
ha_iot_class: Local Polling
|
ha_iot_class: Local Polling
|
||||||
ha_platforms:
|
ha_platforms:
|
||||||
- binary_sensor
|
- binary_sensor
|
||||||
|
- button
|
||||||
- device_tracker
|
- device_tracker
|
||||||
- sensor
|
- sensor
|
||||||
- switch
|
- switch
|
||||||
@ -27,6 +28,7 @@ There is support for the following platform types within Home Assistant:
|
|||||||
|
|
||||||
- **Device tracker** - presence detection by looking at connected devices.
|
- **Device tracker** - presence detection by looking at connected devices.
|
||||||
- **Binary sensor** - connectivity status.
|
- **Binary sensor** - connectivity status.
|
||||||
|
- **Button** - reboot, reconnect, firmware_update.
|
||||||
- **Sensor** - external IP address, uptime and network monitors.
|
- **Sensor** - external IP address, uptime and network monitors.
|
||||||
- **Switch** - call deflection, port forward, parental control and Wi-Fi networks.
|
- **Switch** - call deflection, port forward, parental control and Wi-Fi networks.
|
||||||
|
|
||||||
@ -44,29 +46,10 @@ The configuration in the UI asks for a username. Starting from FRITZ!OS 7.24 the
|
|||||||
|
|
||||||
Currently supported services are Platform specific:
|
Currently supported services are Platform specific:
|
||||||
|
|
||||||
- `fritz.reconnect`
|
|
||||||
- `fritz.reboot`
|
|
||||||
- `fritz.cleanup`
|
- `fritz.cleanup`
|
||||||
|
|
||||||
### Platform Services
|
### Platform Services
|
||||||
|
|
||||||
#### Service `fritz.reboot`
|
|
||||||
|
|
||||||
Reboot the router.
|
|
||||||
|
|
||||||
| Service data attribute | Optional | Description |
|
|
||||||
| ---------------------- | -------- | -------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `entity_id` | no | Only act on a specific router |
|
|
||||||
|
|
||||||
#### Service `fritz.reconnect`
|
|
||||||
|
|
||||||
Disconnect and reconnect the router to the Internet.
|
|
||||||
If you have a dynamic IP address, most likely it will change.
|
|
||||||
|
|
||||||
| Service data attribute | Optional | Description |
|
|
||||||
| ---------------------- | -------- | -------------------------------------------------------------------------------------------------------------- |
|
|
||||||
| `entity_id` | no | Only act on a specific router |
|
|
||||||
|
|
||||||
#### Service `fritz.cleanup`
|
#### Service `fritz.cleanup`
|
||||||
|
|
||||||
Remove all stale devices from Home Assistant.
|
Remove all stale devices from Home Assistant.
|
||||||
@ -112,11 +95,11 @@ The following script can be used to easily add a reconnect button to your UI. If
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
fritz_box_reconnect:
|
fritz_box_reconnect:
|
||||||
alias: "Reconnect FRITZ!Box"
|
alias: "Reboot FRITZ!Box"
|
||||||
sequence:
|
sequence:
|
||||||
- service: fritz.reconnect
|
- service: button.press
|
||||||
target:
|
target:
|
||||||
entity_id: binary_sensor.fritzbox_7530_connection
|
entity_id: button.fritzbox_7530_reboot
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -124,14 +107,14 @@ fritz_box_reconnect:
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
automation:
|
automation:
|
||||||
- alias: "System - Reconnect FRITZ!Box"
|
- alias: "Reconnect FRITZ!Box"
|
||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: time
|
||||||
at: "05:00:00"
|
at: "05:00:00"
|
||||||
action:
|
action:
|
||||||
- service: fritz.reconnect
|
- service: button.press
|
||||||
target:
|
target:
|
||||||
entity_id: binary_sensor.fritzbox_7530_connection
|
entity_id: button.fritzbox_7530_reconnect
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user