![]() * Add thermostat tile to Wear OS app. * Add database schema. * Remove debug logging. * Minor changes for ktlint. * More minor changes for ktlint. * Changed import order in AppDatabase. * Changed layout of the tile. Now includes the state (Idle/Heating/Cooling) based on which the font changes color. Also includes the friendly name of the entity at the op. * Add temperature unit to the tile. * Add handling of "Off" state. * Add setting to toggle showing of name on tile. * Aligned name on tile setting of the thermostat tile to the shortcuts tile. * Revert back to SwitchButton for name on tile. * Change preview to realistic image. * Changed retrieving of targetTemperature. * Changed retrieving of friendlyName. * Change location of retrieving information only needed when the tile is configured. * Changed format of temperature when entity is off. * Use friendlyState for the state shown on the tile. * Use constant for temp up and down action, and combine getTempUpButton() and getTempDownButton() into a single function. * Make hvac_action translatable. * Add missing import. * Update layout of the tile. - Text is now always white. - Edge of screen lights up when heating or cooling. * Compressed preview image. * Move hapticClick up in the code to prevent delay. * Disable buttons if entity is off. * Add graceful handling of not being able to fetch entity. * Fixed "select entity" message not being shown. * use state strings for thermostat tile. * Update preview for the select thermostat view. * Change icon to domain default. * Use TAP_ACTION_UP in setting the updated temperature. * Capitalize hvacAction. * Wrap code to show entity name on tile in if statement. * Move logged in check up in the code. * Move logged in check up in the code - Fix. * Remove unnecessary safe calls. * Pass entity to timeline function instead of retrieving it again. * Handle situation where attribute stepSize is not set. * Fix indentation. * Fix empty line. * Changed handling of off/unavailable state * Indentation. * Updated example image. * Change logic to get entity domain. * Direct use of entity.entityId. * Clean up updatedTargetTemp. * Change logic for unavailable entity. * Remove empty line. * Remove suspend from timeline functoin declaration. Co-authored-by: Joris Pelgröm <jpelgrom@users.noreply.github.com> * Improve imports. * Change order of imports. * Change order of imports, again. * Change order of imports, again. * Another import change. --------- Co-authored-by: Joris Pelgröm <jpelgrom@users.noreply.github.com> |
||
---|---|---|
.. | ||
src | ||
build.gradle.kts | ||
proguard-rules.pro |