GeoNet NZ Quakes Sensor (#10229)

* documents sensor

* ✏️ Tweak
This commit is contained in:
Malte Franken 2019-09-04 01:18:07 +10:00 committed by Martin Hjelmare
parent 1089948089
commit 6c4db819da
2 changed files with 20 additions and 2 deletions

View File

@ -37,7 +37,6 @@ We acknowledge the New Zealand GeoNet project and its sponsors EQC, GNS Science
</div>
## Configuration
To integrate the GeoNet New Zealand Quakes feed use the "Integrations" feature
@ -77,7 +76,6 @@ longitude:
default: Longitude defined in your configuration.
{% endconfiguration %}
## State Attributes
The following state attributes are available for each entity in addition to
@ -101,6 +99,26 @@ Please note that the reported MMI may be lower than the minimum requested MMI.
This integration is passing the requested MMI value to the feed source and
displays all entries retrieved without further filtering by MMI.
## Sensor
This integration automatically creates a sensor that shows how many entities
are currently managed by this integration. In addition to that the sensor has
some useful attributes that indicate the currentness of the data retrieved
from the feed.
<p class='img'>
<img src='{{site_root}}/images/screenshots/geonetnz-quakes-sensor.png' />
</p>
| Attribute | Description |
|------------------------|-------------|
| status | Status of last update from the feed ("OK" or "ERROR"). |
| last update | Timestamp of the last update from the feed. |
| last update successful | Timestamp of the last successful update from the feed. |
| last timestamp | Timestamp of the latest entry from the feed. |
| created | Number of entities that were created during last update (optional). |
| updated | Number of entities that were updated during last update (optional). |
| removed | Number of entities that were removed during last update (optional). |
## Full Configuration

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB