Commit graph

1475 commits

Author SHA1 Message Date
Daniel Shokouhi 346ef3da5f
Initial commit of notification support on Wear OS (#3221)
* Initial commit of wear OS notifications

* Update to allow message and title

* Move constants to object to reduce imports

* Split up logic to match phone app

* Update readme and set websocket to false for wear OS

* Bump firebase BOM
2023-01-20 14:02:03 -05:00
Justin Bassett 5cd74c0179
Add and Android Auto sensor! (#3228)
* Add and Android Auto sensor!

* Fix build.

* Add version check on sensor.
2023-01-16 08:50:07 -05:00
Daniel Shokouhi 9337f6b471
Fix conversation data response type (#3231) 2023-01-16 08:49:37 -05:00
Joris Pelgröm d722a4d725
Update Compose theme adapter dependency (#3229) 2023-01-16 08:43:02 -05:00
Daniel Shokouhi d7ee395306
Fix beacon monitor not updating after move to common (#3220) 2023-01-13 18:35:35 -05:00
Daniel Shokouhi 572324afb2
Update change log week of 1/13 (#3227) 2023-01-13 13:29:24 -05:00
Justin Bassett 1e910e7ec7
Bunch of Android Auto enhancements (#3225)
* Bunch of Android Auto enhancements

* Bump icon sizes.

* Formatting.

* Review Fixes.

* Ooops.

* Missed size.
2023-01-13 13:27:35 -05:00
dependabot[bot] 3dfdc72588
Bump gradle from 7.3.1 to 7.4.0 (#3222)
Bumps gradle from 7.3.1 to 7.4.0.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-13 11:35:51 -05:00
Justin Bassett 220b73d20f
Bump a bunch of dependencies. (#3216) 2023-01-13 11:18:54 -05:00
Kostas Chatzikokolakis bca80f6391
Add UUID filter to Beacon Monitor (#3178) 2023-01-13 11:06:29 -05:00
Daniel Shokouhi a5cbe04315
Update conversation tile text and icon (#3209)
* Update conversation tile text and icon

* Minor design tweaks: increase corner radius, push down icon

* Update per review comment
2023-01-12 16:05:07 -05:00
Joris Pelgröm d6fbc1e95d
Minor Android Auto improvements (#3218)
- Fix low res entity icons
 - Fix domains not being translated
 - Add support for input_button
 - Use domain extension property
2023-01-12 15:26:40 -05:00
Justin Bassett d1e0f29486
Fix Build/Deploy 2023-01-11 22:44:30 -05:00
Daniel Shokouhi f3360b1b92
Update health services dependency (#3212) 2023-01-11 22:04:19 -05:00
Justin Bassett ee4272a168
Initial Android Auto Support (#3211)
* Initial work on Android Auto support.

* Get some toggling working, add a main view that is useful.

* Make sure we can test this on every commit.

* Migrate to full flavor.
2023-01-11 17:31:53 -05:00
dependabot[bot] df47acb83c
Bump sentry-android from 6.10.0 to 6.11.0 (#3198)
Bumps [sentry-android](https://github.com/getsentry/sentry-java) from 6.10.0 to 6.11.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.10.0...6.11.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-11 21:56:07 +00:00
Joris Pelgröm 081fd8b8c1
Try/catch for individual sensor updates (#3203)
- Individual sensor update exceptions weren't caught like for multiple sensor updates
2023-01-11 16:38:46 -05:00
Daniel Shokouhi 527325f153
Add missing phone permission to Wear manifest (#3200) 2023-01-11 16:38:25 -05:00
Daniel Shokouhi db63a38cd5
Migrate bluetooth sensors to common and add to wear OS (#3168)
* Migrate bluetooth sensors to common and add to wear OS

* Add missing BT permissions and register for state change events

* Update permissions again
2023-01-11 16:37:00 -05:00
Daniel Shokouhi afd8a21fbd
Update changelog week of 12/31 (#3192) 2022-12-31 19:41:58 -05:00
Joris Pelgröm efb2390597
Add option for unlocked only quick settings tiles (#3189)
- Add option to quick settings tile to only allow interacting with it when the device is unlocked, similar to device controls on Android 13 (but phrased differently to match the system default behavior)
2022-12-30 20:34:31 -05:00
Justin Bassett 1bbd047626
Sentry Config (#3191)
Hide Sentry Config
2022-12-30 20:34:20 -05:00
Joris Pelgröm a9e3a5daee
More quick settings tiles when needed (#3185)
- Add a lot more quick settings tile services
 - Enable QS tile services only for tiles up to the highest tile # in use + 4, with a minimum of 12, to prevent long lists and make it work 'automagically'
2022-12-30 20:27:27 -05:00
Joris Pelgröm 4ff2fcca4b
Update instead of cancel notification on replies (#3167)
* Update instead of cancel notification on reply

 - When a notification is replied to, update it instead of cancelling it to allow the other to continue manipulating it

* Support multiple replies

 - Keep a history of replies in the bundle to match system behavior

* Only keep replies that are actually shown
2022-12-30 20:15:36 -05:00
dependabot[bot] 37e00233bd
Bump android-beacon-library from 2.19.4 to 2.19.5 (#3179)
Bumps [android-beacon-library](https://github.com/AltBeacon/android-beacon-library) from 2.19.4 to 2.19.5.
- [Release notes](https://github.com/AltBeacon/android-beacon-library/releases)
- [Changelog](https://github.com/AltBeacon/android-beacon-library/blob/master/CHANGELOG.md)
- [Commits](https://github.com/AltBeacon/android-beacon-library/commits)

---
updated-dependencies:
- dependency-name: org.altbeacon:android-beacon-library
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-30 19:53:50 -05:00
dependabot[bot] a2499e6389
Bump sentry-android from 6.9.2 to 6.10.0 (#3164)
Bumps [sentry-android](https://github.com/getsentry/sentry-java) from 6.9.2 to 6.10.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.9.2...6.10.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-30 19:53:37 -05:00
Joris Pelgröm e9712582b4
Fix app lock bypass on home WiFi command, code style (#3173)
* Fix app lock bypass on home WiFi command, code style

 - Fix the app lock bypass when on home WiFi notification command
 - Fix code style for app lock notification commands

* Consistent variable names
2022-12-30 19:53:02 -05:00
George Adams 59dfe7c769
Migrate setup-java action to use Temurin (#3172)
* Migrate setup-java action to use Temurin

AdoptOpenJDK has moved to the Eclipse Foundation and now distributes binaries under the new name "Eclipse Temurin"

* Update pr.yml

* Update release.yml

* Update weekly.yaml
2022-12-30 19:52:44 -05:00
Justin Bassett 1a4e3d3b98
Use full version for amazon deployment. 2022-12-22 11:20:12 -05:00
Daniel Shokouhi 4f5f6a1539
Update change log 12/19 (#3165)
* Update change log 12/19

* Remove trailing space

* Combine all QS tile updates
2022-12-20 12:07:10 -05:00
Justin Bassett efc4f0af49
Migrate to more recently updated Action. (#3163) 2022-12-19 04:42:57 +00:00
Justin Bassett ce8049729e
Add support for publishing to Amazon on release. (#3162)
* Add support for publishing to Amazon on release.

* Fix beta deploys....
2022-12-19 04:11:15 +00:00
Justin Bassett d5f8de3ce8
Fix build that I accidentally pushed to master.... 2022-12-18 22:27:53 -05:00
Bassett, Justin 994fdc264c Remove all remaining deprecated Github Actions. 2022-12-18 22:24:05 -05:00
Joris Pelgröm f928da2e6d
Matter dependency update and tweaks for shared devices + errors (#3161)
* Update Matter dependency

* Improve shared device commissioning

 - Show device name if available
 - Show error codes if returned

* Show toast for commissioning request errors

 - When an error occurs for commissioning requests/before the Play Services UI is shown, show a toast informing the user that Matter is currently unavailable. Most user-facing errors will be shown in the Play Services UI (during commissioning).
2022-12-18 21:37:35 +00:00
chriss158 e5191aed51
Add setting to start the app always on the first dashboard view (#3024)
* Add setting to start the app always on the first dashboard view

* Run linting

* Do not close SettingsActivity

* Only show first view if not in HA Config + Fix flash of dashboard when navigating to app settings

* Scroll to top when calling first view of dashboard

If we are on a another view a we are scrolled to the bottom, the first view will be also at the bottom

* Use default dashboard as starting dashboard

* Allow HA config dashboard to call the first view of dashboard

- Also disallow /hassio (Home Assistant addons) to call the first view

* Enhance show first view setting description

* Fix class name spelling LifecycleHandler

* Fix calling first view of dashboard on config/areas and config/automation

Co-authored-by: Justin Bassett <bassett.justint@gmail.com>
2022-12-18 21:08:22 +00:00
Joris Pelgröm 7e5e3adfe9
Use entity icon for quick settings tiles by default (#3160)
- When creating a new quick setting tile, use the entity's icon by default
 - Move Wear icon based on entity domain code to common
2022-12-18 15:31:01 -05:00
Daniel Shokouhi 7f32738e10
Add a tile to start a conversation (#3158)
* Add a tile to interact with conversation integration

* Check HA core version and that conversation is enabled

* Rename search to conversation

* Add some TODOs, review comments for more clean up

* Review comment

* Add back private set
2022-12-18 15:25:00 -05:00
Daniel Shokouhi 8df504e1d7
Migrate more sensors to Wear OS (#3115) 2022-12-18 15:20:12 -05:00
Daniel Shokouhi 84d392f681
Update change log week of 12/16 (#3157) 2022-12-16 10:01:00 -08:00
dependabot[bot] a5bbe2bccc
Bump actions/setup-java from 3.6.0 to 3.9.0 (#3154)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.6.0 to 3.9.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3.6.0...v3.9.0)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-16 15:18:39 +00:00
dependabot[bot] e29f692986
Bump sentry-android from 6.9.1 to 6.9.2 (#3141)
Bumps [sentry-android](https://github.com/getsentry/sentry-java) from 6.9.1 to 6.9.2.
- [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.9.1...6.9.2)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-16 10:01:09 -05:00
Alex Bilevskiy c3349bb25a
use custom user-agent in websocket requests (#3137)
* use custom user-agent in websocket requests

* expose USER_AGENT const; fix imports in WebSocketRepositoryImpl.kt
2022-12-16 10:00:45 -05:00
Tamás Nagy 77f6de4550
Fix monochrome icon on Android 13+ (#3131)
Signed-off-by: Tamás Nagy (T-bond) <tbondvagyok@gmail.com>

Signed-off-by: Tamás Nagy (T-bond) <tbondvagyok@gmail.com>
2022-12-16 10:00:10 -05:00
Daniel Shokouhi 5780f1492b
Restart health services if no updates received in 30 minutes (#3126)
* Restart health services if no updates received in 30 minutes

* Only update activity state if the state changes or an update needs to be forced
2022-12-16 09:59:29 -05:00
Daniel Shokouhi 49849d4587
Let heart rate sensor get up to 10 events in case first is invalid (#3125)
* Let heart rate sensor get up to 5 events in case first is invalid

* Increase to 10 events to try and get a reading
2022-12-16 09:58:28 -05:00
Daniel Shokouhi e7c18b870c
Add new option to vibrate when quick settings tile is clicked (#3123)
* Add new option to vibrate when quick settings tile is clicked

* Use vibration effects if the device supports it

* Review comments

* Remove question mark

* Set switch color when unchecked
2022-12-16 09:55:59 -05:00
Justin Bassett e9fe00917c
Revert "Bump actions/setup-java from 3.6.0 to 3.7.0" (#3139)
Revert "Bump actions/setup-java from 3.6.0 to 3.7.0 (#3129)"

This reverts commit 17368c3a39.
2022-12-06 01:10:19 +00:00
Daniel Shokouhi 956b26cc99
Update change log week of 12/3 (#3133)
* Update change log week of 12/3

* Rewrite some changes

* Add Matter
2022-12-03 16:39:53 -08:00
dependabot[bot] 17368c3a39
Bump actions/setup-java from 3.6.0 to 3.7.0 (#3129)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3.6.0...v3.7.0)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-03 17:54:15 -05:00