{{ sensor.name }}
{% if messages %}{% endif %} {% if token %}{{ token }}
● {{ status.1 }}
{% endwith %}{% trans "Last heartbeat" %}: {{ sensor.last_heartbeat|date:"j M Y, H:i"|default:"—" }}
{% trans "Last submission" %}: {{ sensor.last_submission|date:"j M Y, H:i"|default:"—" }}
{% trans "Token prefix" %}: {{ sensor.token_prefix|default:"—" }}
{% trans "Created" %}: {{ sensor.created_at|date:"j M Y, H:i" }}
{% trans "Rename" %}
{% trans "Device access" %}
{% if sensor.is_active %}{% trans "Enabled" %}{% else %}{% trans "Disabled" %}{% endif %}
{% trans "Reissue API token" %}
{% trans "The old token will immediately stop authenticating." %}
{% trans "Remove sensor" %}
{% trans "This disables the device and revokes its token. Historical events remain linked to it." %}