{% extends 'base.html' %} {% block header %}

{% block title %}Skoda Connector Status {% endblock %}

{% endblock %} {% block content %}

Connection Status for Skoda Public API:

{% if connector.connection_state.enabled and connector.connection_state.value.value == 'connected' %} {% elif connector.connection_state.enabled and connector.connection_state.value.value == 'error' %} {% else %} {% endif %} {% if connector.session.rate_limit_limit is not none %} {% endif %} {% if connector.last_update.enabled and connector.last_update.value %} {% endif %}
Connection {{ connector.connection_state.value.value if connector.connection_state.enabled else "unknown" }}
Rate Limit {{ connector.session.rate_limit_remaining }}/{{ connector.session.rate_limit_limit }} requests remaining
Last Update {{ connector.last_update.value }}
{% endblock %}