Skip to content

Commit

Permalink
Add thermostat tile to Wear OS documentation. (#1155)
Browse files Browse the repository at this point in the history
* Update wear-os.md

Added thermostat tile documentation.

* Add beta tag to thermostat tile information

* Fix beta tag.

Co-authored-by: Daniel Shokouhi <[email protected]>

* Fix beta tag.

Co-authored-by: Daniel Shokouhi <[email protected]>

---------

Co-authored-by: michielap <[email protected]>
Co-authored-by: Daniel Shokouhi <[email protected]>
  • Loading branch information
3 people authored Feb 8, 2025
1 parent 21f6130 commit 141322b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/wear-os/wear-os.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,10 @@ The settings screen can be found at the bottom of the home screen. This is where
* The Template tile shows a rendered template. The template can only be set from the Android companion app. Note: it is not possible to scroll in a tile, the template should fit on the watch screen.
* The Camera tile shows a snapshot of the selected camera.
* The Assist tile allows you to quickly [open Assist on your watch](https://www.home-assistant.io/voice_control/android/#assist-on-wear-os).

* <span class='beta'>BETA</span> The Thermostat tile allows you to see and control the target temperature of a climate entity.

:::note About tile refreshes
Wear OS limits how frequently apps can update tiles and how interactive they can be. For the camera and template tiles you can choose a refresh interval which indicates to the system how often the tile should be refreshed.
Wear OS limits how frequently apps can update tiles and how interactive they can be. For the camera, template and thermostat tiles you can choose a refresh interval which indicates to the system how often the tile should be refreshed.

- Manual (only updates when you tap the refresh button)
- In view (only updates when you scroll a tile into view)
Expand All @@ -80,6 +81,9 @@ You may use HTML to format the text displayed. The following tags are currently
* Changing the color: `<font color='#03a9f4'>colored text</font>`
* Using headers: `<h1>title</h1>`, `<h2>subtitle</h2>`, etc.

### Thermostat tile
<span class='beta'>BETA</span> The thermostat tile can be used to change the target temperature of a climate entity up or down by the step size. Since tile refreshing is limited it can happen that the target temperature shown is no longer accurate. Therefor, if a user changes the temperature through the tile the current target temperature is always first refreshed. If a user changes the temperature multiple times quickly, each click changes the temperature relative to the result previous click instead of getting the target temperature from the server. This is done to counteract the delay in changing target temperature by some thermostats.

## Complications

* An entity state complication can be displayed on your watchface. The complication will display the current state of the selected entity and optionally the name and unit of the measurement. Depending on the watchface, the complication may also show the entity name and icon, and supports 'short text' and 'long text' complication types.
Expand Down

0 comments on commit 141322b

Please sign in to comment.