diff --git a/source/_integrations/miflora.markdown b/source/_integrations/miflora.markdown index 162dbd89979..e1037cca244 100644 --- a/source/_integrations/miflora.markdown +++ b/source/_integrations/miflora.markdown @@ -103,6 +103,11 @@ adapter: required: false default: hci0 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 %}
@@ -123,6 +128,7 @@ sensor: name: Flower 1 force_update: true median: 3 + go_unavailable_timeout: 43200 monitored_conditions: - moisture - light @@ -130,3 +136,18 @@ sensor: - conductivity - 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 +```