Justin Bassett
28de8583a8
Remove multiple sensor receivers ( #746 )
...
* Remove multiple sensor receivers
Remove PermissionManager.kt
* Fix minimal build.
2020-08-13 10:20:03 -04:00
Daniel Shokouhi
8fef3480c6
Add Bluetooth sensor ( #743 )
...
* Initial commit of bluetooth sensor
* Remove unit of measurement
* Lint
* Lint
2020-08-13 00:56:40 -04:00
Justin Bassett
15f6e2449e
NFC Fixes ( #744 )
...
* Ensure NFC is only enabled for valid Home Assistant Versions.
* Use correct deviceId.
* Fix crash when scanning some tags.
2020-08-12 22:45:08 -04:00
Justin Bassett
d016aff47e
Sensor Screen ( #742 )
...
* Initial work on settings UI and getting them all to return.
* Basic views + flow done
* No icons in sensor detail.
* Refactor room stuff to make more sense.
* Add permission checking and DB entries for sensors!
* Make sure we have sensors sorted.
* Move LocationBroadcastReceiver.kt into sensors package.
* Move SensorUpdater.kt into sensors package.
* Sensors can now be enabled and disabled and displays data in UI.
* Added Location "Sensors".
* Start a single receiver to handle all sensor based stuff.
* Fix minimal flavor.
* Rework onboarding flow to use Daos
* Add categories to sensors
extract strings
add icon.
* linting
* Fix tests and minimal.
* Fix merge issues.
* Remove unused files.
* Bring phone sensors inline.
2020-08-12 21:34:15 -04:00
Oleksandr Kapshuk
a8bd4da0a0
Telephony state support ( #731 )
...
* Add support for telephony states #441
* Settings and permissions for call tracking
* Settings and permissions for call tracking impl
* Broadcast receiver for call tracking
* Removed localized strings
* Update AllSensorsUpdaterImpl.kt
Merge fix
* Lint, bugfixes and improvements
* Lint
* Update wording.
Co-authored-by: Justin Bassett <bassett.justint@gmail.com>
2020-08-12 18:11:28 -04:00
Daniel Shokouhi
6e82d3743c
Battery and next alarm sensor improvements ( #740 )
...
* Battery and next alarm sensor improvements
* Lint
2020-08-12 17:43:11 -04:00
Daniel Shokouhi
7b0e28ffa5
Update wifi sensor on state changes ( #734 )
...
* Update wifi sensor on state changes
* Lint
2020-08-11 15:29:41 -04:00
Daniel Shokouhi
6e70dffbbb
Fix configure widget theme colors ( #732 )
...
* Remove hardcoded colors to be more theme compatible
* Fix onboarding screens
2020-08-11 11:54:42 -04:00
David Luhmer
ec9ff0ae6b
Add nfc support ( #689 )
2020-08-11 10:37:43 -04:00
Daniel Shokouhi
4354e817c6
Initial commit of next alarm sensor ( #726 )
...
* Initial commit of next alarm sensor
* Lint
* Review comments
* Remove extra spacing
2020-08-10 23:57:29 -04:00
chriss158
e7e4a25e38
Fix missing message if notification is collapsed ( #723 )
2020-08-09 12:29:12 -04:00
noam148
ebc7b796e8
Fix auth skip issue ( #722 )
2020-08-09 12:21:45 -04:00
Justin Bassett
4b886b531c
Make sure title for notifications are optional. ( #721 )
2020-08-09 11:22:27 -04:00
Daniel Shokouhi
09ea80f5d6
Fix android dark mode ( #717 )
...
* Fix android dark mode
* Lint
* Remove extra spaces
2020-08-09 10:25:17 -04:00
chriss158
2b18cf06bd
Fix statusbar not readable when using a light theme ( #433 ) ( #716 )
...
* Fix statusbar not readably when using a light theme (#433 )
* Color navigation bar with theme color
2020-08-09 10:19:59 -04:00
chriss158
e42d4c211d
Fix statusbar color if theme used rgb color instead of hex color ( #714 )
...
* Fix statusbar color if theme used rgb color instead of hex color
* If a theme is using rgb instead of hex for color,
the status wont be colored.
Solution: Try to parse rgb color first. If not possible, parse hex color
* Fix missing imports
2020-08-08 12:42:38 -04:00
chriss158
a150610d51
Notifications - HTML formatting for title, group summary and collapsed notifications ( #712 )
2020-08-08 12:28:28 -04:00
Daniel Shokouhi
ceedaf4cbe
Correct accuracy for location tracking ( #706 )
...
* Correct accuracy
* Typo
2020-08-06 22:06:59 -04:00
Daniel Shokouhi
06d97b5e01
Mention app flavors and actions APK ( #707 )
2020-08-06 19:17:34 -04:00
Colin Cachia
11982f9ae3
Entity State Widget bugfix ( #702 )
...
* Merge branch 'master' of F:\Colin\Projects\home-assistant-android-companion-colin-cachia with conflicts.
* Static Widget Bugfixes:
- Safely typing any attribute to String
- Removed showing of N/A when attribute not found
2020-08-04 16:40:50 -04:00
Justin Bassett
d747afd37c
Disable minimal publishing. ( #699 )
...
* Disable minimal publishing.
* Linting.
2020-08-03 16:45:14 -04:00
Colin Cachia
6da051b020
Adding ability to display static entity widget in launcher ( #687 )
...
* Adding ability to display static entity widget in launcher
* Code review changes
2020-08-03 16:27:52 -04:00
Justin Bassett
789a1ab3f4
Fix release workflow.
2020-08-03 13:10:31 -04:00
Home Assistant Bot
e1c9c2175b
Lokalise: updates ( #697 )
2020-08-02 14:47:40 -04:00
Justin Bassett
f64fbafd38
Disable Sentry.io for debug builds. ( #696 )
2020-08-02 14:40:44 -04:00
Justin Bassett
1f0a170936
Add device_id whenever we fire an event. ( #693 )
2020-08-02 14:39:29 -04:00
Justin Bassett
fbf53314ea
Request accurate location when we update sensors. ( #692 )
2020-08-02 14:37:25 -04:00
Justin Bassett
9c3635df29
Ensure the correct class is used for broadcast of location updates. ( #695 )
2020-08-02 14:34:04 -04:00
Justin Bassett
46661d4518
Fix location tracking ( #691 )
...
* Fix location tracking.
* Fix requesting accurate location.
2020-08-01 20:49:10 -04:00
Justin Bassett
b2fd541c9c
Migrate to Sentry and remove Crashlytics ( #686 )
2020-08-01 09:36:37 -04:00
Justin Bassett
e22ccacb1a
Fix Deploy and Release for Real ( #684 )
...
* Mock the minimal build for google services
* Fix release deploy for mocking google-services.json
* Don't move 2x..
* Don't move 2x
2020-07-31 08:09:14 -04:00
Justin Bassett
4d900647c7
Fix Deploy and Release ( #683 )
...
* Mock the minimal build for google services
* Fix release deploy for mocking google-services.json
2020-07-31 08:05:07 -04:00
Justin Bassett
bf29174a4a
Minimal Android Flavor ( #682 )
...
* Initial rip out of most of the Googley stuff.
* Lokalise plugin and dependencies removed.
They would be more useful if we had a large app with many translations. However, with most of our UI being a PWA the usefulness of it is very limited.
* Both apps now build.... Yay
* Formatting.
* Tests and checks pass.
* Make sure Github Actions are up to date.
* Fix more unit tests.
* ktLint
* Use config class for gradle dependencies.
2020-07-31 07:46:54 -04:00
Justin Bassett
f468ecefdc
Bugfix/various fixes ( #674 )
2020-07-20 21:59:07 -07:00
Justin Bassett
16073dccbf
Allow the firebase instance id be optional. ( #673 )
...
This is discouraged but helpful for contributors. This way we don't need everyone to setup firebase just to help on the app.
2020-07-20 09:13:14 -04:00
Justin Bassett
359bcefef4
Ensure we have permissions before trying to get Wifi data ( #669 )
2020-07-14 21:49:38 -07:00
Justin Bassett
00324f0747
Fix translation. ( #668 )
...
When lokalise integration was down this got missed.
2020-07-13 17:37:21 -04:00
Justin Bassett
a99f9ebccc
Only update registration when we are actually connected to HA. ( #663 )
...
* Only update registration when we are actually connected to HA.
Various lint warnings.
* Fix ktlint.
2020-07-13 09:25:54 -04:00
Justin Bassett
5ec2efd007
Ensure sensors only start when we are actually logged in. ( #662 )
2020-07-13 09:16:24 -04:00
Justin Bassett
cc70c1a6ac
Ensure thread safety around NsdManager. ( #664 )
2020-07-13 09:09:56 -04:00
Justin Bassett
397641cd47
Fix production deploy.
2020-07-08 09:52:53 -04:00
chriss158
a7a46787ef
Fix widget service calls with numbers ( #640 ) ( #650 )
...
* Widget service calls will fail, if a number for any field is used.
Because the GSON parser will parse every integer to a double.
This is especially a problem on the service alarm_control_panel.alarm_disarm
which needs a code to disarm the alarm panel.
So every code will be converted to .0 (eg. 1234 would be 1234.0)
Solution: Use Jackson instead of gson
GSON problem described here (not fixed):
https://github.com/google/gson/issues/1084
2020-07-07 15:58:51 -04:00
Neonicus
50d80413ce
Authentication Dialog Enhancement ( #633 )
...
* Authentication Dialog Enhancement
* Add "Remember" checkbox
* Add button for password visibility
2020-07-07 15:50:37 -04:00
Home Assistant Bot
f419fca874
Lokalise: updates ( #657 )
2020-07-07 15:09:43 -04:00
Basset, Justin
2233298bdb
Fix feature label to match actual label.
2020-07-05 22:44:53 -04:00
Justin Bassett
a455afd8a6
Update Production Release Steps. ( #655 )
...
Make it all automated!
2020-07-05 22:27:03 -04:00
Justin Bassett
b9ab03054d
Actually pull all commits from the repository
...
We need all commits to determine the Version Code
2020-07-05 18:55:44 -04:00
Justin Bassett
671f1ff84e
Try setting Version Code again...
2020-07-05 18:52:13 -04:00
Justin Bassett
27f8e19160
Try setting VERSION_CODE again.
2020-07-05 18:25:00 -04:00
Justin Bassett
bf1c2268f4
Ensure we set build number
...
https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-environment-variable
2020-07-05 18:07:48 -04:00