mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 13:26:54 +00:00
Update miflora documentation: add go_unavailable_timeout (#11864)
* Update miflora documentation: add go_unavailable_timeout * Miflora documentation: fix type * Miflora documentation: remove template variables * Miflora: change go_unavailable_timeout type to integer
This commit is contained in:
parent
adb52a1720
commit
a1d618ab10
@ -103,6 +103,11 @@ adapter:
|
|||||||
required: false
|
required: false
|
||||||
default: hci0
|
default: hci0
|
||||||
type: string
|
type: string
|
||||||
|
go_unavailable_timeout:
|
||||||
|
description: "Timeout to report this device as unavailable. This option hides a bad link quality"
|
||||||
|
required: false
|
||||||
|
default: 7200
|
||||||
|
type: integer
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
<div class='note warning'>
|
<div class='note warning'>
|
||||||
@ -123,6 +128,7 @@ sensor:
|
|||||||
name: Flower 1
|
name: Flower 1
|
||||||
force_update: true
|
force_update: true
|
||||||
median: 3
|
median: 3
|
||||||
|
go_unavailable_timeout: 43200
|
||||||
monitored_conditions:
|
monitored_conditions:
|
||||||
- moisture
|
- moisture
|
||||||
- light
|
- light
|
||||||
@ -130,3 +136,18 @@ sensor:
|
|||||||
- conductivity
|
- conductivity
|
||||||
- battery
|
- battery
|
||||||
```
|
```
|
||||||
|
An automation example to report a battery failure:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
- id: flower1_moisture_unavailable_check
|
||||||
|
alias: Flower 1 sensors available
|
||||||
|
trigger:
|
||||||
|
- entity_id: sensor.flower1_moisture
|
||||||
|
for: 24:00:00
|
||||||
|
platform: state
|
||||||
|
to: unavailable
|
||||||
|
action:
|
||||||
|
- data_template:
|
||||||
|
message: "Flower 1 moisture is unavailable for more than 24 hours"
|
||||||
|
service: notify.notifier_telegram_someone
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user