diff --git a/source/_components/geonetnz_quakes.markdown b/source/_components/geonetnz_quakes.markdown index 56753cc44d9..78ccdb270a6 100644 --- a/source/_components/geonetnz_quakes.markdown +++ b/source/_components/geonetnz_quakes.markdown @@ -37,7 +37,6 @@ We acknowledge the New Zealand GeoNet project and its sponsors EQC, GNS Science - ## 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. + +

+ +

+ +| 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 diff --git a/source/images/screenshots/geonetnz-quakes-sensor.png b/source/images/screenshots/geonetnz-quakes-sensor.png new file mode 100644 index 00000000000..267e3290869 Binary files /dev/null and b/source/images/screenshots/geonetnz-quakes-sensor.png differ