Commit graph

360 commits

Author SHA1 Message Date
Daniel Shokouhi ebf18b4502
Speed up sensor details screen (#997) 2020-10-01 10:37:02 -04:00
Justin Bassett ae25e7fe97
Resource cleanup! (#994) 2020-09-30 23:12:28 -04:00
Oleksandr Kapshuk 9473cbcce8
Split permissions per sensor enity (#991) 2020-09-30 22:20:39 -04:00
Justin Bassett eeb3ab49da
Make on-boarding a more streamlined experience (#989)
* First screen working as designed.

* Error handling now working as expected.

* ktlint

* Fix minimal build.
2020-09-30 10:37:08 -04:00
Daniel Shokouhi df627776ec
Add file chooser to webview (#986)
* Add file chooser to webview

* Review comments with small adjustments
2020-09-30 10:32:29 -04:00
Daniel Shokouhi e98ddbb43b
Fix changelog link by removing full and minimal reference (#980) 2020-09-28 15:35:47 -04:00
Daniel Shokouhi 2a3d304674
Add a link to the change log in app configuration (#975)
* Add a link to the change log in app configuration

* Review comments
2020-09-24 21:10:10 -04:00
Home Assistant Bot f8f03c9ddd
Lokalise: updates (#977) 2020-09-24 20:25:19 -04:00
Daniel Shokouhi a23e657b6f
Add setting for next alarm allow list (#967)
* Add setting for next alarm allow list

* Switch to preference listener to save values
2020-09-23 08:35:08 -04:00
Daniel Shokouhi 1ebda5442b
Check if skip is not null before attempting to show the error (#955) 2020-09-22 22:13:29 -04:00
Jay Newstrom 714060093b
Write application record to NFC tags. (#969)
* Write application record to NFC tags.

Relates to #876

This fixes an issue where on certain devices a dialog was showing up when scanning the NFC tags.

After this change, scanned NFC tags go directly into the home assistant android companion app.

I also tested on an iOS device to ensure the written NFC tag is correctly read.

* Add fallback to old version if the message is too large.
2020-09-22 22:06:12 -04:00
Jay Newstrom ec5295a546
Only add the logging interceptor for debug builds. (#970)
Closes #915
2020-09-22 22:01:55 -04:00
Daniel Shokouhi 5b30b46221
Fix icon logic for mic muted (#968) 2020-09-22 12:46:41 -04:00
Daniel Shokouhi 2a6890e6e3
Fix settings getting overriden by default value, show summary provider if we have it as a result (#966)
* Fix settings getting overriden by default value, show summary provider if we have it as a result

* Set the value to the default
2020-09-21 08:29:07 -04:00
Justin Bassett 63fe60fd8d
Settings for location accuracy! (#964)
* Settings for location accuracy!

* Review comments.
2020-09-20 14:31:22 -04:00
Daniel Shokouhi 553d5e5cc3
Add traffic stat sensors mobile and total data usage for transmitting and receving (#961)
* Add traffic stat sensors mobile and total data usage for transmitting and receiving

* Review comments
2020-09-20 14:19:14 -04:00
Robert Resch 3dd5963dee
always show search bar for icon dialog (#963) 2020-09-20 13:38:18 -04:00
Daniel Shokouhi 30fd61ad6e
Catch the exception when we get null for attributes (#958)
* Catch the exception when we get null for attributes

* Review comments

* Review comments for proper fix
2020-09-19 14:44:21 -04:00
Daniel Shokouhi 54a0d83c03
Fix dynamic field crash for service call widget (#954)
* Fix dynamic field crash

* Review comments
2020-09-19 14:23:20 -04:00
Daniel Shokouhi 9682b5d341
Add deadband setting for last reboot sensor (#951)
* Add offset setting for last reboot sensor

* Review comments
2020-09-19 14:20:48 -04:00
Daniel Shokouhi e874977320
Only do the migration if we have rows to migrate (#949) 2020-09-18 13:29:52 -04:00
Daniel Shokouhi e652696f1d
Allow sensors to have custom settings (#939)
* Allow sensors to have custom settings

* Add toggle to only grab one BSSID at a time

* Change keyboard logic to string or number to simplify it

* Review comments

* Review comments
2020-09-17 23:35:08 -04:00
Home Assistant Bot 005b759a28
Lokalise: updates (#945) 2020-09-17 14:58:04 -04:00
Daniel Shokouhi debeadb707
Hide NFC if the device reports it has no hardware (#941)
* Hide NFC if the device reports it has no hardware

* Add hardware check to webview activity
2020-09-16 11:47:09 -04:00
Justin Bassett 532ae9d366
Add the ability to share things (text) to Home Assistant. (#938)
* Add the ability to share things (text) to Home Assistant.

* Add caller package and subject if present.
2020-09-15 20:45:42 -04:00
uvjustin 75fbb9165b
Change exoplayer/play_hls payload type (#932)
* Change exoplayer/play payload type

* Change key name from payload to url
2020-09-15 20:37:37 -04:00
Justin Bassett 3a6291c38a
Fix Security Bypass (#935)
* Hide timeout when it isn't being used.

* Fix #925

* ktlint
2020-09-14 16:20:09 -04:00
Justin Bassett 71d764cf40
Ensure only the master branch push creates a beta play store build. (#934) 2020-09-14 16:14:38 -04:00
Daniel Shokouhi cadf23e2a4
Fix wireless charging icon, replace unknown with none if no charger detected (#933) 2020-09-14 11:32:45 -04:00
Home Assistant Bot 60ecbaf0a5
Lokalise: updates (#928) 2020-09-13 13:10:58 -04:00
Daniel Shokouhi 9f704651dd
Fix some stale icons (#927) 2020-09-13 13:05:23 -04:00
Daniel Shokouhi 35eadc1bf3
Remove leftover shortcut code from settings (#926) 2020-09-13 13:01:54 -04:00
Daniel Shokouhi b3675d9560
Disable network manager by default (#921) 2020-09-11 18:46:40 -04:00
Justin Bassett e722a189e2
Ensure only the master branch push creates a beta play store build. (#919) 2020-09-11 15:43:41 -04:00
Justin Bassett 6e13b16214
Architecture Simplification (#917)
* Common compiling....
So I guess I have that going for me...

* It's very broken...

* App builds and tests pass....

* Remove other now extra files.
2020-09-11 15:39:30 -04:00
Daniel Shokouhi e5baf1e64c
Fix settings crash (#911) 2020-09-10 20:12:58 -04:00
Oleksandr Kapshuk da9d4dbc72
Initial public ip sensor commit (#908)
* Initial public ip sensor commit

* Review comments fix
2020-09-10 20:09:34 -04:00
Basset, Justin 3a3942883d Bump Database Version 2020-09-08 23:16:37 -04:00
Justin Bassett 2c990e2c7b
Fix a race condition Sensor Update (#907)
* Fix a race condition between a sensor updating and sending the data to Home Assistant.

* ktlint

* UI enhancements + force update if re-enabled.
2020-09-08 23:09:13 -04:00
Daniel Shokouhi 01d33067e7
Split up audio attributes, part 1 (#905) 2020-09-08 22:12:40 -04:00
Daniel Shokouhi 514532b282
Split up WiFi sensor, part 1 (#904)
* Split up wifi attributes into their own sensor, part 1

* Add note to remove attributes after next release

* Wifi to WiFi for consistency
2020-09-08 17:52:20 -04:00
Daniel Shokouhi f771048f73
Split up bluetooth state into its own sensor, part 1 (#901)
* Split up bluetooth state into its own sensor, part 1

* Fix typo and add note to remove attribute

* Lint

Co-authored-by: Justin Bassett <bassett.justint@gmail.com>
2020-09-08 16:18:18 -04:00
Daniel Shokouhi 10c5769349
Split up external storage to its own sensor, part 1 (#902)
* Split up external storage to its own sensor, part 1

* Lint

* Add note to remove attributes after the next release
2020-09-08 16:13:50 -04:00
Daniel Shokouhi 88ce628cec
Split battery attributes, part 1 (#899)
* Split up battery attributes into their own sensors, part 1

* Switch from phone to device for description

* Add a note to remove the attributes on next release
2020-09-08 16:03:14 -04:00
Daniel Shokouhi a71378ed7e
Fix state change when we fail to send data to HA (#903) 2020-09-08 15:33:39 -04:00
Daniel Shokouhi c0d4b225ed
Breaking Change: Only send updates when a state change has been detected (#891) 2020-09-08 09:21:57 -04:00
Daniel Shokouhi e84abafa78
Add more icons to the settings screen and force number pad for numeric only field (#895)
* Add more icons to the settings screen and force number pad for numeric only field

* Use correct exception

Co-authored-by: Justin Bassett <bassett.justint@gmail.com>
2020-09-08 09:11:25 -04:00
Anna Tikhomirova 2de7ddab3e
Discard duplicate locations coming within seconds of each other (#888)
* Discard duplicate locations coming within seconds of each other

* Keep identical update timeout to 15 minutes.

Co-authored-by: Justin Bassett <bassett.justint@gmail.com>
2020-09-08 08:57:48 -04:00
Daniel Shokouhi f9f1f6f0d6
Breaking Change: Allow attributes to send over their proper data format (#889)
* Allow attributes to send over their proper data format

* Review comments

* Lint
2020-09-07 13:38:31 -04:00
Justin Bassett 567e60a14f
Fix nightly failures when no changes occur. (#887) 2020-09-06 08:42:03 -04:00