Commit Graph

1883 Commits

Author SHA1 Message Date
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
dependabot[bot]
17f86efd18
Bump rickstaa/action-create-tag from 1.7.1 to 1.7.2 (#4044)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-11 09:15:29 +01:00
Daniel Shokouhi
4aaec08127
Update change log week of 11/24 (#4029)
* Update change log week of 11/24

* Mention new default value for BLE transmitter
2023-11-25 10:04:24 -08:00
Kostas Chatzikokolakis
52b0f4a6d7
Set the default BLE transmitter minor value to 40004 (#4027)
This value is whitelisted by the ibeacon integration to ensure the beacon
is processed even without a name.
2023-11-25 12:14:17 -05:00
Yuri Schimke
da43981208
Better Wear Check (#4024) 2023-11-25 12:12:21 -05:00
dependabot[bot]
07dc72b527
Bump io.sentry:sentry-android from 6.33.0 to 6.34.0 (#4022)
Bumps [io.sentry:sentry-android](https://github.com/getsentry/sentry-java) from 6.33.0 to 6.34.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.33.0...6.34.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>
2023-11-24 10:01:15 +00:00
Justin Bassett
777a26c561
Try to build each module individually to help on runner memory. (#4025)
* Try to build each module individually to help on runner memory.

* Add names to the setup gradle task.
2023-11-22 15:23:44 -05:00
Daniel Shokouhi
1aa56166c7
Catch potential play services errors (#4019) 2023-11-22 13:12:47 -05:00
dependabot[bot]
e44cbf0113
Bump actions/github-script from 6 to 7 (#4016)
Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/github-script
  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-11-22 12:57:56 -05:00
dependabot[bot]
271315a647
Bump horologist from 0.5.9 to 0.5.10 (#4009)
Bumps `horologist` from 0.5.9 to 0.5.10.

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

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

---
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-11-22 12:56:04 -05:00
dependabot[bot]
f65ca09a10
Bump rickstaa/action-create-tag from 1.6.6 to 1.7.1 (#4008)
Bumps [rickstaa/action-create-tag](https://github.com/rickstaa/action-create-tag) from 1.6.6 to 1.7.1.
- [Release notes](https://github.com/rickstaa/action-create-tag/releases)
- [Commits](https://github.com/rickstaa/action-create-tag/compare/v1.6.6...v1.7.1)

---
updated-dependencies:
- dependency-name: rickstaa/action-create-tag
  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-11-22 12:55:28 -05:00
Ruben van Dijk
f5886dce1a
Added a sensor to detect if the hotspot is enabled. (#4012)
* Added a sensor to detect if the hotspot is enabled.

* Validate if we aren't running a watch before showing hotspot sensor.

* Fixed code style issues with the linter.

* Fix instant update for hotspot-sensor.

* Update hotspot icon to access-point instead of wifi.
2023-11-22 12:54:06 -05:00
IsakTheHacker
af9f131799
Official Gradle Wrapper Validation Action (#3980)
* Create gradle-wrapper-validation.yml

* Remove separate gradle wrapper validation workflow

* Validate Gradle wrapper directly in pr.yml and onPush.yml before Gradle is invoked
2023-11-22 12:53:39 -05:00
Daniel Shokouhi
a75d1da1d7
Update change log week of 11/11 (#4011) 2023-11-11 22:37:29 -05:00
Daniel Shokouhi
dfc30d5357
Update change log week of 11/3 (#3996) 2023-11-04 15:05:31 -07:00
Justin Bassett
4d712493c6
Hopefully Escape quotes in changelog. (#4000) 2023-11-04 20:03:46 +00:00
dependabot[bot]
e473cc2a5c
Bump io.sentry:sentry-android from 6.32.0 to 6.33.0 (#3992)
Bumps [io.sentry:sentry-android](https://github.com/getsentry/sentry-java) from 6.32.0 to 6.33.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.32.0...6.33.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>
2023-11-04 15:00:41 -04:00
dependabot[bot]
4b5f2afb47
Bump rickstaa/action-create-tag from 1.6.4 to 1.6.6 (#3991)
Bumps [rickstaa/action-create-tag](https://github.com/rickstaa/action-create-tag) from 1.6.4 to 1.6.6.
- [Release notes](https://github.com/rickstaa/action-create-tag/releases)
- [Commits](https://github.com/rickstaa/action-create-tag/compare/v1.6.4...v1.6.6)

---
updated-dependencies:
- dependency-name: rickstaa/action-create-tag
  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-11-04 15:00:17 -04:00
Joris Pelgröm
ac7ba33ae7
Show server name in "Unable to connect to Home Assistant" dialog (#3995)
- Shows the server name instead of a generic "Home Assistant" to prevent confusion when the app cannot connect in the WebViewActivity, when using multiserver.
2023-11-04 14:59:15 -04:00
Joris Pelgröm
2da1a36c55
Websocket onMessage: prevent out of order delivery due to launch (#3990)
Websocket onMessage: prevent out of order delivery due to launch
2023-11-01 19:01:20 -04:00
Daniel Shokouhi
15574f7531
Update change log week of 10/27 (#3978) 2023-10-28 09:44:52 -07:00
Joris Pelgröm
e8815f12e5
Always send sensor registration device class + entity category to prevent errors due to old registration (#3977)
* Always send device class during registration

 - Always send the device class for a sensor during registration to overwrite any existing invalid values

* Only send sensor registrations with null properties to core 2023.2+
2023-10-28 11:18:03 -04:00
Joris Pelgröm
7d76bb4b51
Update tiles logged out state to prevent cut off overflow, shortcuts tile label (#3975)
Update tiles logged out state to prevent cut off overflow

 - Limit length of logged out state string to prevent text cut off and shorten strings to help with translations
 - Fix inconsistent shortcuts tile name
2023-10-28 11:15:22 -04:00
Joris Pelgröm
73c928d6e4
Update shortcut tile add/remove + destroy handling (#3974)
- Updates the shortcut tile's handling of add/remove event + destroying the service, just like the camera tile, to prevent the service scope being cancelled while the app is still storing tile added/removed
 - (this service already didn't overwrite existing tile data when onTileAddEvent was called again)
2023-10-28 11:14:55 -04:00
dependabot[bot]
d143da9ea3
Bump horologist from 0.5.8 to 0.5.9 (#3971)
Bumps `horologist` from 0.5.8 to 0.5.9.

Updates `com.google.android.horologist:horologist-composables` from 0.5.8 to 0.5.9
- [Release notes](https://github.com/google/horologist/releases)
- [Commits](https://github.com/google/horologist/compare/v0.5.8...v0.5.9)

Updates `com.google.android.horologist:horologist-compose-layout` from 0.5.8 to 0.5.9
- [Release notes](https://github.com/google/horologist/releases)
- [Commits](https://github.com/google/horologist/compare/v0.5.8...v0.5.9)

---
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-10-25 23:26:11 -04:00
Daniel Shokouhi
a596a1183d
Use deprecated wifi method in case WifiInfo is null (#3970)
* Use deprecated wifi method in case WifiInfo is null

* Add comment about why we are reusing the deprecated method
2023-10-25 23:24:27 -04:00
Joris Pelgröm
5314e4b08b
Update Jetpack/Google dependencies (Oct 2023) (#3966) 2023-10-22 12:19:47 -04:00
Daniel Shokouhi
51b30fc19f
Update change log week of 10/20 (#3963) 2023-10-20 16:03:49 -07:00
Justin Bassett
f7b4818488
Bump okhttp and merge deps. (#3962) 2023-10-20 22:25:23 +00:00
dependabot[bot]
0c3e228cfa
Bump io.sentry:sentry-android from 6.31.0 to 6.32.0 (#3951)
Bumps [io.sentry:sentry-android](https://github.com/getsentry/sentry-java) from 6.31.0 to 6.32.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.31.0...6.32.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>
2023-10-20 17:49:02 -04:00
dependabot[bot]
2b59ac13d5
Bump horologist from 0.5.7 to 0.5.8 (#3946)
Bumps `horologist` from 0.5.7 to 0.5.8.

Updates `com.google.android.horologist:horologist-composables` from 0.5.7 to 0.5.8
- [Release notes](https://github.com/google/horologist/releases)
- [Commits](https://github.com/google/horologist/compare/v0.5.7...v0.5.8)

Updates `com.google.android.horologist:horologist-compose-layout` from 0.5.7 to 0.5.8
- [Release notes](https://github.com/google/horologist/releases)
- [Commits](https://github.com/google/horologist/compare/v0.5.7...v0.5.8)

---
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-10-20 17:48:45 -04:00
dependabot[bot]
9d13333d48
Bump rickstaa/action-create-tag from 1.6.3 to 1.6.4 (#3942)
Bumps [rickstaa/action-create-tag](https://github.com/rickstaa/action-create-tag) from 1.6.3 to 1.6.4.
- [Release notes](https://github.com/rickstaa/action-create-tag/releases)
- [Commits](https://github.com/rickstaa/action-create-tag/compare/v1.6.3...v1.6.4)

---
updated-dependencies:
- dependency-name: rickstaa/action-create-tag
  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-10-20 17:47:48 -04:00