# The Status class

The Status class represents the status of a Huskoll device, and can be retrieved by calling `Huskoll.get_status()`. The class has the following values:<br>

**status**: The current status of the device as returned by the server (usually "online" if your device is alive and well)

**power:** What power the heat pump was last set to by the device. Possible known values: "on", "off".

**mode:** What mode the heat pump was last set to by the device. Possible known values: "cool", "heat".

**current\_set**\_**point:** What temperature the heat pump was last set to by the device. Possible known values: Integers within the span 8 - 32 degrees.

**fan\_speed:** What fan speed the heat pump was last set to by the device. Possible known values: "low", "medium", "high", and "auto".

{% hint style="warning" %}
Due to lack of documentation, the definitions of the current *env* temperature value and the last alarm variable has been made based on assumptions.
{% endhint %}

**current\_env\_temperature:** The last reported environment temperature (by the device sensors)

**last\_alarm:** When the device last reported a temperature alarm.

**hardware\_generation:** The hardware generation of the device.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://huskoll-lib.albins.website/functions-and-classes/the-status-class.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
