mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 08:16:53 +00:00
Remove deprecated hide_entity for automations (#11754)
This commit is contained in:
parent
1dc8d85d45
commit
caff890f38
@ -63,7 +63,6 @@ automation:
|
||||
|
||||
# Send a notification via Pushover with the event of a Xiaomi cube. Custom event from the Xiaomi component.
|
||||
- alias: 'Xiaomi Cube Action'
|
||||
hide_entity: false
|
||||
initial_state: false
|
||||
trigger:
|
||||
platform: event
|
||||
|
@ -11,23 +11,18 @@ ha_codeowners:
|
||||
---
|
||||
|
||||
Please see the [docs section](/docs/automation/) for in-depth
|
||||
documentation on how to use the automation component.
|
||||
documentation on how to use the automation integration.
|
||||
|
||||
<p class='img'>
|
||||
<img src='{{site_root}}/images/screenshots/automation-switches.png' />
|
||||
</p>
|
||||
|
||||
This allows one to reload the automation without restarting Home Assistant
|
||||
itself. If you don't want to see the automation rule in your frontend use
|
||||
`hide_entity: true` to hide it.
|
||||
|
||||
You can also use `initial_state: 'false'` so that the automation
|
||||
is not automatically turned on after a Home Assistant reboot.
|
||||
|
||||
```yaml
|
||||
automation:
|
||||
- alias: Door alarm
|
||||
hide_entity: true
|
||||
initial_state: true
|
||||
trigger:
|
||||
- platform: state
|
||||
|
@ -94,7 +94,6 @@ To help detect and debug flic button clicks, you can use this automation that se
|
||||
```yaml
|
||||
automation:
|
||||
- alias: FLIC Html5 notify on every click
|
||||
hide_entity: false
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: flic_click
|
||||
|
@ -79,12 +79,12 @@ sensor:
|
||||
To have your Home Assistant installation remind you of upcoming waste collections, combine the `rova` platform with some [Automations](/docs/automation/) and a [notification platform](/integrations/notify/).
|
||||
|
||||
{% raw %}
|
||||
|
||||
```yaml
|
||||
# Example configuration.yaml entry for Rova waste collection reminder
|
||||
automation:
|
||||
- id: rova-garbage-bio-reminder
|
||||
alias: 'Send Rova Bio waste collection reminder'
|
||||
hide_entity: true
|
||||
trigger:
|
||||
- platform: time
|
||||
at: '19:00:00'
|
||||
@ -98,6 +98,7 @@ automation:
|
||||
data:
|
||||
message: 'Reminder: put out biowaste bin'
|
||||
```
|
||||
|
||||
{% endraw %}
|
||||
|
||||
<div class='note warning'>
|
||||
|
@ -223,7 +223,6 @@ Simple ping pong example.
|
||||
|
||||
```yaml
|
||||
alias: 'Telegram bot that reply pong to ping'
|
||||
hide_entity: true
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: telegram_command
|
||||
@ -301,7 +300,6 @@ Text repeater:
|
||||
{% raw %}
|
||||
```yaml
|
||||
- alias: 'Telegram bot that repeats text'
|
||||
hide_entity: true
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: telegram_text
|
||||
@ -323,7 +321,6 @@ Message editor:
|
||||
{% raw %}
|
||||
```yaml
|
||||
- alias: 'Telegram bot that edits the last sent message'
|
||||
hide_entity: true
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: telegram_callback
|
||||
@ -355,7 +352,6 @@ Keyboard editor:
|
||||
{% raw %}
|
||||
```yaml
|
||||
- alias: 'Telegram bot that edits the keyboard'
|
||||
hide_entity: true
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: telegram_callback
|
||||
@ -380,7 +376,6 @@ Only acknowledges the 'NO' answer:
|
||||
{% raw %}
|
||||
```yaml
|
||||
- alias: 'Telegram bot that simply acknowledges'
|
||||
hide_entity: true
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: telegram_callback
|
||||
@ -399,7 +394,6 @@ Telegram callbacks also support arguments and commands the same way as normal me
|
||||
{% raw %}
|
||||
```yaml
|
||||
- alias: 'Telegram bot repeats arguments on callback query'
|
||||
hide_entity: true
|
||||
trigger:
|
||||
platform: event
|
||||
event_type: telegram_callback
|
||||
|
@ -28,7 +28,7 @@ As you might have noticed, this release has been delayed by 5 days. This was due
|
||||
|
||||
### Hide automation rules
|
||||
|
||||
Since 0.28 [automation rules](/blog/2016/09/10/notify-group-reload-api-pihole/#reload-automation-rules) can be reloaded directly from the frontend. By default all automation rules are shown. If you want to [hide an automation rule](/getting-started/automation-create-first/), use `hide_entity: true`.
|
||||
Since 0.28 [automation rules](/blog/2016/09/10/notify-group-reload-api-pihole/#reload-automation-rules) can be reloaded directly from the frontend.
|
||||
|
||||
### All changes
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user