Commit Graph

2014 Commits

Author SHA1 Message Date
Joris Pelgröm 98f3d7abd2
Add option to update camera & template tile when 'in view' (#4185)
* Add option to update camera & template tile 'on view'

 - Use the tile enter callback to request an update to the tile once it enters the view. Considering that this callback exists it's probably safe to assume an update that is requested in this callback won't be throttled (at least it appears to work during testing).
 - Minor edit to the refresh interval picker to ensure strings that are more than one line look a bit nicer.

* on view -> in view
2024-02-02 16:44:22 -05:00
Justin Bassett 222a938de8
Update Amazon Appstore environment variables and update fastlane. (#4184) 2024-02-02 16:12:49 -05:00
dependabot[bot] dfdb2656d7
Bump io.sentry:sentry-android from 7.2.0 to 7.3.0 (#4175)
Bumps [io.sentry:sentry-android](https://github.com/getsentry/sentry-java) from 7.2.0 to 7.3.0.
- [Release notes](https://github.com/getsentry/sentry-java/releases)
- [Changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-java/compare/7.2.0...7.3.0)

---
updated-dependencies:
- dependency-name: io.sentry:sentry-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-02 15:31:01 -05:00
Joris Pelgröm f95b482e53
Replace deprecated MdcTheme with 'normal' theme matching XML theme (#4182)
- MdcTheme appears to have been deprecated in the latest release. Replace it with our own theme everywhere it is used. Thankfully, because the modifications for the HA (XML) theme are very minor compared to a default Material theme there's not a lot to define/duplicate.
2024-02-02 15:30:41 -05:00
Joris Pelgröm 09ca68e061
Fix lint warning for database/db function parameter name (#4178)
- Fixes the following warning x23: /home-assistant-android/common/src/main/java/io/homeassistant/companion/android/database/AppDatabase.kt:838:34 The corresponding parameter in the supertype 'Migration' is named 'db'. This may cause problems when calling this function with named arguments.
2024-02-02 15:28:12 -05:00
Joris Pelgröm bd38cfb7c2
Bump Guava to 33.0.0-android (#4177)
- Bump Guava to the latest version, which removes the need for a dependency resolution strategy and (hopefully) un-breaks dependabot updates.
2024-02-02 15:27:43 -05:00
Jorden 1786a7d3e6
Fix button widget on Samsung devices (#4181)
Fix button widget
2024-02-02 15:27:03 -05:00
Márton Maráz c185b871fd
Make volume sensors update instantly by subscribing to a broadcast (#4162)
* Make volume sensors update instantly by subscribing to a broadcast

* Change skippableActions to a 1-to-many map and the list of all volume sensors to the corresponding Intent action key
2024-02-02 15:25:55 -05:00
dependabot[bot] 471f7de8da
Bump gradle/gradle-build-action from 2 to 3 (#4169)
* Bump gradle/gradle-build-action from 2 to 3

Bumps [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action) from 2 to 3.
- [Release notes](https://github.com/gradle/gradle-build-action/releases)
- [Commits](https://github.com/gradle/gradle-build-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Migrate per release notes.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Justin Bassett <bassett.justint@gmail.com>
2024-01-30 18:45:17 +00:00
Joris Pelgröm f3071e79e6
Wear Assist: show login when logged out, scroll first item into view (#4174)
- Update Assist on Wear to automatically open the login screen when logged out, instead of asking the user to close and login, to prevent text being cut off issues
 - Add another item at the top of Assist on Wear to allow the pipeline selector to be scrolled into the center of the screen (the first item cannot be scrolled into the center of the screen)
2024-01-30 18:43:49 +00:00
dependabot[bot] f1d07a1b6e
Bump gradle/wrapper-validation-action from 1 to 2 (#4171)
Bumps [gradle/wrapper-validation-action](https://github.com/gradle/wrapper-validation-action) from 1 to 2.
- [Release notes](https://github.com/gradle/wrapper-validation-action/releases)
- [Commits](https://github.com/gradle/wrapper-validation-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: gradle/wrapper-validation-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-30 18:35:29 +00:00
dependabot[bot] 29d6c69e84
Bump horologist from 0.5.19 to 0.5.20 (#4170)
Bumps `horologist` from 0.5.19 to 0.5.20.

Updates `com.google.android.horologist:horologist-composables` from 0.5.19 to 0.5.20
- [Release notes](https://github.com/google/horologist/releases)
- [Commits](https://github.com/google/horologist/compare/v0.5.19...v0.5.20)

Updates `com.google.android.horologist:horologist-compose-layout` from 0.5.19 to 0.5.20
- [Release notes](https://github.com/google/horologist/releases)
- [Commits](https://github.com/google/horologist/compare/v0.5.19...v0.5.20)

---
updated-dependencies:
- dependency-name: com.google.android.horologist:horologist-composables
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.android.horologist:horologist-compose-layout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-30 13:22:58 -05:00
dependabot[bot] 3be7970037
Bump accompanist from 0.32.0 to 0.34.0 (#4161)
Bumps `accompanist` from 0.32.0 to 0.34.0.

Updates `com.google.accompanist:accompanist-themeadapter-material` from 0.32.0 to 0.34.0
- [Release notes](https://github.com/google/accompanist/releases)
- [Commits](https://github.com/google/accompanist/compare/v0.32.0...v0.34.0)

Updates `com.google.accompanist:accompanist-systemuicontroller` from 0.32.0 to 0.34.0
- [Release notes](https://github.com/google/accompanist/releases)
- [Commits](https://github.com/google/accompanist/compare/v0.32.0...v0.34.0)

---
updated-dependencies:
- dependency-name: com.google.accompanist:accompanist-themeadapter-material
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.accompanist:accompanist-systemuicontroller
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-30 13:21:36 -05:00
Daniel Shokouhi 44807af50f
Update change log week of 1/26 (#4163) 2024-01-27 10:17:02 -08:00
Joris Pelgröm 97d312bdd6
Androidx dependency updates late Jan 2024 (#4165)
- Update Wear Assist alignment to keep same appearance of an inline chevron to change the assistant
2024-01-27 17:58:40 +00:00
Joris Pelgröm c6ddca8fdc
Support image entity in camera widget (now renamed picture widget) (#4159)
- Allow selecting image entities in the camera widget
 - Rename camera widget to picture widget to better reflect camera + image entity support
2024-01-25 17:02:51 -05:00
dependabot[bot] ef17312e70
Bump com.google.devtools.ksp from 1.9.22-1.0.16 to 1.9.22-1.0.17 (#4157)
Bumps [com.google.devtools.ksp](https://github.com/google/ksp) from 1.9.22-1.0.16 to 1.9.22-1.0.17.
- [Release notes](https://github.com/google/ksp/releases)
- [Commits](https://github.com/google/ksp/compare/1.9.22-1.0.16...1.9.22-1.0.17)

---
updated-dependencies:
- dependency-name: com.google.devtools.ksp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-25 16:18:04 -05:00
dependabot[bot] 4f98dc0858
Bump horologist from 0.5.18 to 0.5.19 (#4156)
* Bump horologist from 0.5.18 to 0.5.19

Bumps `horologist` from 0.5.18 to 0.5.19.

Updates `com.google.android.horologist:horologist-composables` from 0.5.18 to 0.5.19
- [Release notes](https://github.com/google/horologist/releases)
- [Commits](https://github.com/google/horologist/compare/v0.5.18...v0.5.19)

Updates `com.google.android.horologist:horologist-compose-layout` from 0.5.18 to 0.5.19
- [Release notes](https://github.com/google/horologist/releases)
- [Commits](https://github.com/google/horologist/compare/v0.5.18...v0.5.19)

---
updated-dependencies:
- dependency-name: com.google.android.horologist:horologist-composables
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.android.horologist:horologist-compose-layout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Enable core library desugaring for wear module

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joris Pelgröm <joris.pelgrom@gmail.com>
2024-01-25 16:17:38 -05:00
Daniel Shokouhi e366ca15d6
Bump play services location dependency (#4155) 2024-01-25 16:15:57 -05:00
Joris Pelgröm d9e65f8e5d
Remove Thread credential sync from start of Matter commissioning flow (#4150)
- After discussion with Thread dev, remove Thread credential syncing from the start of the Matter commissioning flow. There are 2 major reasons for this:
   * it significantly slows down the flow while only being useful some of the time
   * the results have limited usefulness because the API limits how much Home Assistant can influence the device data
  The alternative for the user is to use the manual 'import credentials' button in the frontend (matching iOS), or access the sync option in the app settings > troubleshooting menu.
2024-01-24 13:06:48 -05:00
Joris Pelgröm ff2b0ecc79
Replace 'Refresh interval' title with icon (#4144)
- To (hopefully) finally address review failures about text being cut off on round screens replace it with an icon. Same icon as used in the previous screen so should be pretty clear.
2024-01-24 10:58:36 -05:00
dependabot[bot] b7ec2ab44e
Bump io.sentry:sentry-android from 7.1.0 to 7.2.0 (#4138)
Bumps [io.sentry:sentry-android](https://github.com/getsentry/sentry-java) from 7.1.0 to 7.2.0.
- [Release notes](https://github.com/getsentry/sentry-java/releases)
- [Changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-java/compare/7.1.0...7.2.0)

---
updated-dependencies:
- dependency-name: io.sentry:sentry-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-24 10:58:20 -05:00
dependabot[bot] 45b0697cd4
Bump horologist from 0.5.14 to 0.5.18 (#4137)
Bumps `horologist` from 0.5.14 to 0.5.18.

Updates `com.google.android.horologist:horologist-composables` from 0.5.14 to 0.5.18
- [Release notes](https://github.com/google/horologist/releases)
- [Commits](https://github.com/google/horologist/compare/v0.5.14...v0.5.18)

Updates `com.google.android.horologist:horologist-compose-layout` from 0.5.14 to 0.5.18
- [Release notes](https://github.com/google/horologist/releases)
- [Commits](https://github.com/google/horologist/compare/v0.5.14...v0.5.18)

---
updated-dependencies:
- dependency-name: com.google.android.horologist:horologist-composables
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.android.horologist:horologist-compose-layout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-24 10:58:04 -05:00
Iván Cea Fontenla b0f1aa2906
Integrate car sensors with automotive, and added permissions (#4122)
* Integrate car sensors with automotive, and added permissions

* Set context in every call

* Fixed CarSensorManager format

* Enable car sensors only on correct flavors

* Fixed format

* Renamed context to latestContext and added parenthesis to expression
2024-01-24 10:57:27 -05:00
Sebastian Lövdahl 5d52735e36
Support multiple Template tiles on Wear OS (#3783)
* Support multiple Template tiles on Wear OS

* Add `TemplateTileConfig` data class

* Fix migration

* `Pair` -> `TemplateTileConfig` fixes

* Fix `getAllTemplateTiles` implementation

* Initial work on companion <-> wearable device communication

* More work on phone <-> wear device communication

* Save updated template in phone app

* Get the template to render using the right method

* Fix CI complaints

* Work on Wear UI for multiple template tiles

* Update wear manifest

* Wear migration and navigation fixes

* Fix Template tile IDs in mobile app

* Make adding a new Template tile on Wear device work

* Small cleanups and TODO fixes

* Try to fix template config refresh in settings

* Fix after rebase

* Adopt blocking approach for reacting to tile events, inspired by #3974

* Use `OpenTileSettingsActivity` for template tile

* Adopt Material 3 and other UI-related changes

* Show help text in phone app if no template tiles have been added yet

* Reference the view model variable inside the function

By having the view model variable outside the block, the updated template tile
might not be propagated to the template settings view.

* Reload template tiles when opening the template tiles from settings

* Replace null key with -1 for old template tile

* Lint complaints fixes

* remove TODO

* Store error

* Scrollable list of template tiles

* Move "Configure template tile" to header

* Replace with methods with copy

* Show template as secondary text

* Fix scrolling

* Update app/src/full/java/io/homeassistant/companion/android/settings/wear/views/SettingsWearTemplateTileList.kt

Co-authored-by: Joris Pelgröm <jpelgrom@users.noreply.github.com>

* Remove unused field

* Move padding to "no tiles" text

* Add deep link

---------

Co-authored-by: Joris Pelgröm <jpelgrom@users.noreply.github.com>
2024-01-24 10:56:39 -05:00
dependabot[bot] 26a472afc6
Bump actions/cache from 3 to 4 (#4143)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-19 08:44:37 +01:00
Daniel Shokouhi b3b74fae0e
Update change log week of 1/12 (#4133)
* Update change log week of 1/12

* Update matter and thread change
2024-01-12 12:07:53 -08:00
Daniel Shokouhi fb9a6230b0
Bump some project dependencies (#4132) 2024-01-12 12:39:28 -05:00
Joris Pelgröm a5efe6a9ab
Support for Thread "import credentials" from frontend (#4128)
* Support for Thread "import credentials" frontend action

 - Add support for the frontend action to import Thread credentials, or better said export Thread credentials from the device. This is essentially a very basic sync.

* Rename/reorder reused Matter code

 - Change names and order of reused Matter code for Thread importing to prevent potential confusion

* Update minimal implementation
2024-01-12 09:20:57 -05:00
Daniel Shokouhi 8dd76734f8
Use horizontal padding on refresh interval per review comment (#4120) 2024-01-06 23:06:26 +01:00
Daniel Shokouhi b4c4c7a458
Update change log week of 1/5 (#4117)
* Update change log week of 1/5

* Add note about Matter
2024-01-05 18:07:24 -08:00
Daniel Shokouhi 39b19b7fc3
Add padding to refresh interval to avoid text getting cut off (#4119) 2024-01-06 01:18:19 +00:00
dependabot[bot] 1a7fd4059c
Bump hilt from 2.49 to 2.50 (#4113)
Bumps `hilt` from 2.49 to 2.50.

Updates `com.google.dagger:hilt-android-compiler` from 2.49 to 2.50
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.49...dagger-2.50)

Updates `com.google.dagger:hilt-android` from 2.49 to 2.50
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.49...dagger-2.50)

Updates `com.google.dagger.hilt.android` from 2.49 to 2.50
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.49...dagger-2.50)

---
updated-dependencies:
- dependency-name: com.google.dagger:hilt-android-compiler
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:hilt-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger.hilt.android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-05 13:44:39 -05:00
dependabot[bot] c29ed170c8
Bump io.sentry:sentry-android from 7.0.0 to 7.1.0 (#4064)
Bumps [io.sentry:sentry-android](https://github.com/getsentry/sentry-java) from 7.0.0 to 7.1.0.
- [Release notes](https://github.com/getsentry/sentry-java/releases)
- [Changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-java/compare/7.0.0...7.1.0)

---
updated-dependencies:
- dependency-name: io.sentry:sentry-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-04 14:29:41 -05:00
Joris Pelgröm f1fcabb0c9
Send IP address of Matter device for on network commissioning (#4069)
* [WIP] Send IP of device during commissioning

* Add version check for IP address in commission_on_network

* Update minimal
2024-01-04 14:29:19 -05:00
Joris Pelgröm 1162a82c48
Suppress system Matter device discovery bottom sheet (#4062)
- Prevents the system's Matter device discovery bottom sheet from showing up while the Home Assistant app is opened.
2023-12-20 12:26:04 -05:00
Joris Pelgröm 7cc545bfac
Fix button widget authentication dismissed due to non-foreground window (#4066)
- Fixes the button widget authentication dialog automatically being dismissed when triggered on Android 14 QPR1+, because the window was not in the foreground. It looks like the framework check for this was bugged before QPR1, and the Home Assistant app was showing the authentication dialog before the window (which is transparent) was in the foreground.
2023-12-20 12:25:06 -05:00
Daniel Shokouhi 1fa6ec463e
Update change log week of 12/15 (#4058) 2023-12-15 10:13:35 -08:00
dependabot[bot] 2cf7535606
Bump io.sentry:sentry-android from 6.34.0 to 7.0.0 (#4054)
Bumps [io.sentry:sentry-android](https://github.com/getsentry/sentry-java) from 6.34.0 to 7.0.0.
- [Release notes](https://github.com/getsentry/sentry-java/releases)
- [Changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-java/compare/6.34.0...7.0.0)

---
updated-dependencies:
- dependency-name: io.sentry:sentry-android
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-15 12:51:00 -05:00
dependabot[bot] db971c5847
Bump hilt from 2.48.1 to 2.49 (#4052)
Bumps `hilt` from 2.48.1 to 2.49.

Updates `com.google.dagger:hilt-android-compiler` from 2.48.1 to 2.49
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.48.1...dagger-2.49)

Updates `com.google.dagger:hilt-android` from 2.48.1 to 2.49
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.48.1...dagger-2.49)

Updates `com.google.dagger.hilt.android` from 2.48.1 to 2.49
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.48.1...dagger-2.49)

---
updated-dependencies:
- dependency-name: com.google.dagger:hilt-android-compiler
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:hilt-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger.hilt.android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-15 12:48:27 -05:00
Daniel Shokouhi 40a295c90c
Bump car app library dependency (#4051) 2023-12-15 12:47:13 -05:00
Joris Pelgröm 62414e4cd5
Migrate BuildConfig to Gradle Build Files (#4049)
- Addresses the following warning: The option setting 'android.defaults.buildfeatures.buildconfig=true' is deprecated. Each module uses the BuildConfig class so it's added everywhere.
2023-12-15 12:46:48 -05:00
dependabot[bot] 857cf46609
Bump actions/upload-artifact from 3 to 4 (#4055)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-15 12:31:42 +01:00
dependabot[bot] 5b8ad202a3
Bump horologist from 0.5.10 to 0.5.14 (#4048)
Bumps `horologist` from 0.5.10 to 0.5.14.

Updates `com.google.android.horologist:horologist-composables` from 0.5.10 to 0.5.14
- [Release notes](https://github.com/google/horologist/releases)
- [Commits](https://github.com/google/horologist/compare/v0.5.10...v0.5.14)

Updates `com.google.android.horologist:horologist-compose-layout` from 0.5.10 to 0.5.14
- [Release notes](https://github.com/google/horologist/releases)
- [Commits](https://github.com/google/horologist/compare/v0.5.10...v0.5.14)

---
updated-dependencies:
- dependency-name: com.google.android.horologist:horologist-composables
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.android.horologist:horologist-compose-layout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-13 20:57:28 +00:00
dependabot[bot] f34558d5e8
Bump actions/setup-java from 3.13.0 to 4.0.0 (#4036)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.13.0 to 4.0.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3.13.0...v4.0.0)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-13 15:44:47 -05:00
Daniel Shokouhi 2b36440900
Bump various project dependencies (#4038)
* Bump various project dependencies

* Bump kotlin and compose compiler to latest

* Update more dependencies
2023-12-13 20:42:59 +00:00
Steffen Klee e0731c9c79
Add Wear OS TLS client certificate authentication (TLS CCA) support (#3924)
* Add Wear OS TLS client certificate authentication (TLS CCA) support

Wear OS does not currently allow the user to install certificates to the
system-wide KeyChain for TLS CCA support. This commit adds support for
using certificates from the app-specific Android KeyStore with UI for
setting up a certificate during the Wear OS onboarding process.
The manual step in the onboarding process is required since we cannot
transmit certificates of the Android KeyChain because they are not
extractable.

In particular, this commit adds the following changes:
* KeyStoreImpl as an additional KeyChainRepository interface
  implementation for loading and storing keys to the application's
  KeyStore. TLSHelper uses KeyStoreImpl as a fallback key manager.
* UI for selecting a certificate file with GET_CONTENT intent during
  Wear OS onboarding in OnboardingActivity if it is detected that the
  Home Assistant may require TLS CCA. The UI includes a password check
  for the PKCS12 container.
* During onboarding the app sends the raw PKCS12 data to Wear OS
  together with the container password. The connection is assumed to be
  encrypted and trusted so that no additional encryption is necessary.

* Move PKCS12 password check to lifecycle scope

* Remove redundant try-catch when loading PKCS12

* Simplify MobileAppIntegrationView layout code
2023-12-13 15:19:54 -05:00
Joris Pelgröm df902803ab
Check controls while locked setting when using panel (#4047)
- When using the device controls panel instead of individual/native controls on Android 14, also check the setting for using controls while the device is locked and if so block the panel (as the frontend doesn't have a read only mode).
2023-12-13 14:47:55 -05:00
Paul Biester 5d779a27aa
Fix target temperature step attribute name error (#4039)
Fix wrong attribute name for the target temperature step. Correct one is target_temp_step (which is returned by the API) instead of target_temperature_step
2023-12-13 14:46:36 -05:00
Joseph Abbey 6b56bc579a
mobile_app_notification_cleared for wearos (#4035)
* mobile_app_notification_cleared for wearos

* Fix imports

* Remove database id extra

* Fix whitespace

* Reformatted imports and added the receiver to the manifest

* Move `handleDeleteIntent` to common
2023-12-13 14:45:46 -05:00