Daniel Shokouhi
f419778e80
Load a temporary favorite chip for each entity ID until we get entities ( #1899 )
...
* Load a temporary favorite chip for each entity ID until we get entities
* Lint
2021-11-10 23:07:16 -05:00
Daniel Shokouhi
894a3e8a1d
Add the time, make better use of list headers on Wear ( #1900 )
2021-11-10 22:03:11 -05:00
HunterX86
705a974c95
Fixing splash screen ( #1896 )
...
Changed splash logo and accent color
2021-11-10 21:37:01 -05:00
Justin Bassett
4fdbe7214a
Major Wear Cleanup ( #1895 )
...
* Better state hoisting.
* Broke down compose items and removed dependant state.
* Functional minus favorites....
* Favorites working, not my best solution.
* Breaking more stuff down.
* ktlint.
2021-11-10 09:35:10 -05:00
SkechyWolf
eb3585b305
Fixing Splash screen so it isn't blurry and adding rounded edges ( #1894 )
...
* Fixing Splash screen so it isn't blurry and adding roundness
* Fixes filename mistake
2021-11-09 23:44:53 -05:00
Justin Bassett
ba8345a3cf
Initial WebSocket Implementation ( #1884 )
...
* Initial setup of WebSockets!
* Got some good sets of table tennis going.
* Move to a more kotlin friendly way to lock.
* Functional get config call.
* Remove testing function.
* Linting.
* Migrate get config calls to websockets!
* Working retries.
* Get services now as websocket request.
* Remove unused service call via api.
* Fix issue with widget not prompting the correct items.
* Migrate to websocket get states.
* ktlint.
* Review Comments.
2021-11-09 20:44:05 -05:00
Daniel Shokouhi
86c12799e7
Allow categories in Wear to be collapsed and expanded for easier navigation ( #1886 )
...
* Allow categories in Wear to be collapsed and expanded for easier navigation
* Small tweak
2021-11-09 15:46:38 -05:00
Daniel Shokouhi
2999d220a8
Add a splash screen to Wear to improve cold start experience ( #1889 )
2021-11-09 09:47:25 -05:00
dependabot[bot]
a45fe24a6b
Bump accompanist-appcompat-theme from 0.20.0 to 0.20.2 ( #1888 )
...
Bumps [accompanist-appcompat-theme](https://github.com/google/accompanist ) from 0.20.0 to 0.20.2.
- [Release notes](https://github.com/google/accompanist/releases )
- [Commits](https://github.com/google/accompanist/compare/v0.20.0...v0.20.2 )
---
updated-dependencies:
- dependency-name: com.google.accompanist:accompanist-appcompat-theme
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>
2021-11-09 09:42:40 -05:00
Daniel Shokouhi
2c5e762504
Add settings and favorites for wear so users can quickly execute actions they do regularly faster ( #1875 )
...
* Add settings and favorites for wear
* Use proper variable for navigation
* Refactoring to remove clutter from HomeActivity
* Always start set favorites at the top
* Review comments
* Correct merge mistake
* Add rotary input on set favorites screen
2021-11-09 09:41:23 -05:00
Daniel Shokouhi
588e74113d
Bring back rotary input support for home screen ( #1887 )
2021-11-07 21:32:06 -05:00
Lasse Rosenow
dc80d31d4a
Remove automatic darkening of system bars ( #1882 )
...
* Remove automatic darkening of system bars
In modern material design the system bars should not be darker then the rest of the app.
* Fix unnecessary import
2021-11-07 21:14:45 -05:00
Daniel Shokouhi
0aece4ac3c
Request proper android 12 permissions for BLE transmitter ( #1876 )
...
* Request proper android 12 permissions for BLE transmitter
* Reorder permissions so we don't skip advertise when needed
2021-11-07 21:14:14 -05:00
nick2525
1c748663e4
fix warnings ( #1867 )
...
* fix warnings and errors
* pr fixes
Co-authored-by: nick2525 <test@test.com>
2021-11-07 20:54:16 -05:00
Justin Bassett
edc41424a0
Hotfix/fix startup crash ( #1873 )
...
* Fix view binding for exo player.
* ktlint.
2021-11-04 08:56:38 -04:00
Justin Bassett
3a4408f8aa
Fix version check. ( #1871 )
2021-11-04 00:12:17 -04:00
Daniel Shokouhi
4e3d8ce852
Add a short delay and update entities again on wear homescreen ( #1870 )
2021-11-03 23:09:45 -04:00
Tiger Oakes
5f87d10846
Replace kotlinx.android.synthetic with viewbinding ( #1840 )
...
* Replace kotlinx.android.synthetic with viewbinding
* Remove kotlin-android-extensions
* Replace findViewById calls with viewbinding
2021-11-03 23:01:46 -04:00
Daniel Shokouhi
2322e981a3
Bump compose libraries ( #1869 )
...
* Bump compose libraries
* Move version to inline
2021-11-03 21:48:33 -04:00
Daniel Shokouhi
8aee9d11b1
Move entities call back to presenter, use ToggleChip for toggle domains ( #1868 )
...
* Move entities call back to presenter, use ToggleChip for toggle domains
* Bump compose libraries and minor cleanup
* Review comments
2021-11-03 21:42:30 -04:00
Daniel Shokouhi
4959925fd5
Add support for entity category and state class sensors ( #1835 )
...
* Add support for entity category and state class in sensors
* Add device class for signal strength sensor
* Set more state class and entity categories
* Set more categories and add option to trigger registration again
* Always register sensors during the update, remove unneeded code
* Use constants for entity category and state class
* Update logic to include checking app and HA version
* Remove additional check for HA version as it is done every 4 hours
* Only update HA version during security check when user has no sensors enabed
* Switch from pushToken to appVersion for registration check to account for minimal users
* Change logic to update based on each sensors registered app and core version
* Fix migration
* Attempt to fix migration again
* Really fix migration
* Restore time interval for testing
* Dont store app version in preferences
2021-11-02 22:05:59 -04:00
dependabot[bot]
4b72ef9a9d
Bump sentry-android from 5.2.4 to 5.3.0 ( #1859 )
...
Bumps [sentry-android](https://github.com/getsentry/sentry-java ) from 5.2.4 to 5.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/5.2.4...5.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>
2021-11-02 21:08:38 -04:00
dependabot[bot]
6c1f1f3e0c
Bump dagger-compiler from 2.39.1 to 2.40 ( #1861 )
...
Bumps [dagger-compiler](https://github.com/google/dagger ) from 2.39.1 to 2.40.
- [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.39.1...dagger-2.40 )
---
updated-dependencies:
- dependency-name: com.google.dagger:dagger-compiler
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>
2021-11-02 21:08:18 -04:00
dependabot[bot]
b36cc0a5a3
Bump dagger from 2.39.1 to 2.40 ( #1860 )
...
Bumps [dagger](https://github.com/google/dagger ) from 2.39.1 to 2.40.
- [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.39.1...dagger-2.40 )
---
updated-dependencies:
- dependency-name: com.google.dagger:dagger
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>
2021-11-02 20:58:22 -04:00
Daniel Shokouhi
1bf7caa49a
Dependency updates and minor changes to accompany them ( #1865 )
2021-11-02 20:57:51 -04:00
Alfiegerner
f3ff0886d8
Add measured power setting to BLE transmitter ( #1864 )
...
* Add measured power setting to BLE transmitter
Revert default setting to publish with measured power of -59, in attempt to resolve issues described by #1855 .
Setting added to allow override if required.
* Fix whitespace linting
2021-11-02 20:54:13 -04:00
Daniel Shokouhi
b6e0837cc4
Convert wear home activity to compose ( #1844 )
...
* Convert wear home activity to compose
* Bump compose libraries and make UI consistent
* UI fixes based on review comments
* Use chip overflow and max lines instead of take
* Bump activity compose dependency in wear
* Clean up old files
* Remove more unused files
* Pass entities into composable and use rememberSaveable for the lists
* Move getEntities to ViewModel for recomposition
* Restore onViewReady changes
* Add a loading screen while waiting on viewmodel
2021-11-02 20:52:28 -04:00
amadeo-alex
c6a5231435
Add BLE beacon advertise mode setting ( #1856 )
...
* replaced variables with values where possible
* added option to set advertise mode
* adjusted sensor description and changed the formatting
* renamed values to be more descriptive
* changed constant names to be more descriptive
* fixed and unified naming of settings, added quotes around references to specific sensor settings
2021-10-30 20:40:36 -04:00
Daniel Shokouhi
ef06cf4cc4
Fix sharing export flag ( #1858 )
2021-10-30 20:39:05 -04:00
chriss158
39689a8fbf
Fix sensor update not working in background ( #1854 )
2021-10-30 20:38:40 -04:00
Daniel Shokouhi
e881a8a9c4
Add permissions for modify audio settings for webview activity ( #1850 )
2021-10-29 16:08:41 -04:00
Daniel Shokouhi
8631b3db98
Fix notification command permissions not launching by directing user to open the app ( #1848 )
2021-10-29 16:07:48 -04:00
Marcus Lönnberg
89492743f8
Support Lock states jammed, locking and unlocking ( #1843 )
2021-10-29 16:07:12 -04:00
Daniel Shokouhi
b75f730233
Fix high accuracy command after sensor update logic was corrected ( #1849 )
2021-10-28 13:53:45 -04:00
Daniel Shokouhi
3d4c37e910
Allow notification icon to be changed ( #1837 )
2021-10-28 13:50:49 -04:00
Daniel Shokouhi
27f8c181f7
Convert notification detail page to compose ( #1822 )
...
* Convert notification detail page to compose
* Switch to fragment instead of preference
* Pass in the data to compose for recomposition
2021-10-28 13:13:08 -04:00
dependabot[bot]
38dd8b4a8c
Bump accompanist-appcompat-theme from 0.16.0 to 0.20.0 ( #1832 )
...
Bumps [accompanist-appcompat-theme](https://github.com/google/accompanist ) from 0.16.0 to 0.20.0.
- [Release notes](https://github.com/google/accompanist/releases )
- [Commits](https://github.com/google/accompanist/compare/v0.16.0...v0.20.0 )
---
updated-dependencies:
- dependency-name: com.google.accompanist:accompanist-appcompat-theme
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>
2021-10-25 12:31:42 -04:00
dependabot[bot]
3834a5f29a
Bump sentry-android from 5.2.3 to 5.2.4 ( #1831 )
...
Bumps [sentry-android](https://github.com/getsentry/sentry-java ) from 5.2.3 to 5.2.4.
- [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/5.2.3...5.2.4 )
---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-25 11:15:19 -04:00
Daniel Shokouhi
ff20e4502b
Some NFC fixes for Android 12 ( #1830 )
2021-10-24 18:48:09 -04:00
Daniel Shokouhi
e1cc6c8dcb
Check for Galaxy Wearable app as well for Galaxy Watch 4 users ( #1826 )
2021-10-23 22:51:23 -04:00
Daniel Shokouhi
578ec93c78
Add reconfiguration and description to widgets for Android 12 ( #1825 )
2021-10-23 22:50:58 -04:00
Daniel Shokouhi
406da5c86e
Update the high accuracy sensor when we receive a notification command ( #1821 )
...
* Update the high accuracy sensor when we receive a notification command
* Review comments
* Remove sensor maanger
2021-10-23 16:35:40 -04:00
Daniel Shokouhi
6b43dfba64
Set the correct export flag for QS tiles ( #1824 )
2021-10-23 13:47:19 -04:00
Daniel Shokouhi
6d9e4cd3b3
Fix NFC activity due to missing pending intent flag ( #1823 )
2021-10-23 13:46:23 -04:00
Daniel Shokouhi
3eec7142b1
Set icon tint for priority ( #1820 )
2021-10-23 13:44:01 -04:00
Daniel Shokouhi
430740ca4e
Migrate welcome fragment to use jetpack compose ( #1818 )
...
* Migrate welcome fragment to use jetpack compose
* Ditch XML
2021-10-22 12:19:11 -04:00
amadeo-alex
7023702a46
Sensor detail long description fix ( #1817 )
...
* added custom preference with max summary length of 64 lines
* replaced summary preference with SensorDetailDescriptionPreference
* fixed formatting according to ktlintCheck
2021-10-22 08:36:34 -04:00
Daniel Shokouhi
e3cc165c79
Only load MDI icons on wear, otherwise load default ( #1816 )
...
* Only load MDI icons on wear, otherwise load default
* Combine conditions
* Update wear/src/main/java/io/homeassistant/companion/android/viewHolders/EntityButtonViewHolder.kt
Co-authored-by: Justin Bassett <bassett.justint@gmail.com>
Co-authored-by: Justin Bassett <bassett.justint@gmail.com>
2021-10-21 00:39:43 -04:00
Daniel Shokouhi
95bc2a184f
Updates for Android 12 ( #1807 )
...
* Updates for Android 12
* Fix notification actions
* Final missing pending intent flag
2021-10-20 23:40:08 -04:00
Justin Bassett
ca9706b1af
Make sure device supports CookieManager before using. ( #1815 )
2021-10-20 23:25:37 -04:00