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
Anna Tikhomirova
06afa32bf5
Do not trigger sensors update on alarm and bluetooth events if the corresponding sensor is disabled ( #884 )
2020-09-06 08:38:33 -04:00
Daniel Shokouhi
ba127fd5bd
Add power sensors: Interactive, Doze, Power Save ( #885 )
...
* Add power sensors
* Fix state translation to allow the sensors to be binary
2020-09-06 08:28:04 -04:00
chriss158
aee090144b
Fix theme selector ( #881 )
...
* Fix theme selector
Right now the theme selector is broken for some languages,
because the internal options values were translated by mistake.
Marked them as untranslatable
* Also set pref_theme_option_labels as untranslatable
2020-09-04 20:18:15 -04:00
Oleksandr Kapshuk
1b5cbf1712
Update sensors bugfix ( #879 )
...
* Update sensors fix
* Include unregistering into the condition check
2020-09-04 08:28:11 -04:00
Daniel Shokouhi
8f017f3b90
Only show sensors that are available for the device ( #877 )
...
* Only show sensors that are available for the device
* Review comments
* Filter before forEach to remove unneeded condition
2020-09-03 20:45:25 -04:00
Daniel Shokouhi
c221e85fa4
Allow sensors to be disabled by default until user enables them ( #875 )
...
* Allow sensors to be disabled by default until user enables them
* Review comments
2020-09-03 15:13:29 -04:00
Anna Tikhomirova
986655c912
Ensure that we only register once for location updates (really this time) ( #874 )
2020-09-03 14:16:16 -04:00
Daniel Shokouhi
bd2cfb5aa4
Only register once for hardware sensors ( #873 )
...
* Only register the listener if it is not registered already
* Add more logging, move variable to companion object
2020-09-03 14:13:51 -04:00
Daniel Shokouhi
833534f920
Switch to string for translating sensor names ( #858 )
...
* Switch to string for translating sensor names
* Fix minimal version
* Add sensor friendly name to strings for translation
* Lint
* Fix bad merge...
Co-authored-by: Justin Bassett <bassett.justint@gmail.com>
2020-09-02 00:59:54 -04:00
Daniel Shokouhi
68b8987704
Use a foreground service for the sensor worker to make updates more reliable ( #854 )
2020-09-02 00:44:13 -04:00
Anna Tikhomirova
2ec8abd1b3
Enable Wi-Fi and Geocode sensors during the initial setup if location permission is granted ( #853 )
...
* Enable Wi-Fi and Geocode sensors during the initial setup if location permission is granted.
* Fix minimal build
2020-09-02 00:40:59 -04:00
Justin Bassett
df621311b1
Build Enhancements ( #866 )
...
* Nicer changelog printing
* Cache the gradle Cache
* Playstore updated nightly not on commit.
2020-09-02 00:34:19 -04:00
Justin Bassett
c6efea6d48
Include github token for finding release
2020-09-01 14:57:56 -04:00
Justin Bassett
103863dbb4
Fix asset upload
...
Use action to find actual upload_url for release.
2020-09-01 14:29:14 -04:00
Home Assistant Bot
7678d0419b
Lokalise: updates ( #865 )
2020-09-01 12:20:14 -04:00
Paulus Schoutsen
73e935279e
Guard for null in bluetooth sensor ( #864 )
2020-09-01 10:43:17 -04:00
Paulus Schoutsen
6c9204bc91
Mention install SDK in README ( #860 )
...
* Mention install SDK.
* Update README.md
2020-09-01 10:27:00 -04:00
Justin Bassett
72888cc754
Fix location Spam ( #863 )
...
* Reduce/eliminate the number of duplicate location updates.
* Limit accurate location requests to once per minute max.
* Remove some validation code.
* Swap around statements.
* Send location every 15 minutes even if it's the same.
2020-09-01 10:05:30 -04:00
Justin Bassett
44551543bd
Ensure the change-log is short for Google Play ( #850 )
2020-08-31 12:42:02 -04:00
Daniel Shokouhi
7ffabca380
Add description for each sensor on details screen, only show device class and icon if they are set ( #847 )
...
* Add description for each sensor, only show device class and icon if they are set
* Minor cleanup
* Lint
* Switch to better implementation per review comments
* Only use basicSensor since it contains all the data we need
2020-08-30 18:08:53 -04:00