Ville Skyttä
5e90a4d000
Use more state attribute name constants ( #40428 )
2020-09-21 23:03:39 +02:00
Franck Nijhof
53545c984b
Log lines do not end with a full stop ( #37527 )
2020-07-05 23:04:19 +02:00
springstan
b2af1de273
Improve string formatting v9 ( #34050 )
...
* Improve string formatting v9
* Address review comments
2020-04-12 17:18:09 +02:00
Paulus Schoutsen
aef06a3544
Directly call write state 2 ( #33513 )
...
* Directly call async_write_ha_state pt2
* Directly call async_write_ha_state pt2
* Fix mock
* Address comments
2020-04-03 09:34:50 +02:00
Paulus Schoutsen
873bf887a5
Add OwnTracks Friends via person integration ( #27303 )
...
* Returns an unencrypted location of all persons with device trackers
* Handle encrypted messages and exclude the poster's location
* Friends is by default False. Reformats with Black
* Updates the context init to account for the Friends option
* Fix Linter error
* Remove as a config option
* No longer imports encyrption-related functions in encrypt_message
* Fix initialization in test
* Test the friends functionality
* Bugfix for persons not having a location
* Better way to return the timestamp
* Update homeassistant/components/owntracks/__init__.py
Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>
* Linting and tid generation
* Fix test
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-03-05 12:55:48 -08:00
Paulus Schoutsen
0fba9e44ed
Migrate zone to use collection helpers ( #30774 )
2020-01-22 12:36:25 -08:00
Bas Nijholt
05daa817f5
Sort imports according to PEP8 for owntracks ( #29672 )
2019-12-09 12:11:27 +01:00
Quentame
eb23846cfe
Move imports in owntracks component ( #27780 )
...
* Move imports in owntracks component
* Fix nacl import
* Fix nacl import 2
* Fix nacl import 3
* Add helper.supports_encryption tests
* Fix tests helper 1
* Fix tests 2
* Add not_supports_encryption + get_cipher_error tests
* Code cov
* Fix nacl_not_imported test
2019-11-18 16:47:30 +01:00
Quentame
decab3e15b
Add config flow tests for OwnTracks ( #28644 )
...
* Add config flow tests for OwnTracks
* Fix pylint
* Woops, uncomment test
* Woops again, logs removed
* Review from @MartinHjelmare + fix pylint
2019-11-11 21:30:00 +01:00
Luca Angemi
3e26b49cc2
Add battery status in owntracks ( #27686 )
...
* Add battery status in owntracks
* Remove trailing whitespaces
2019-10-15 17:56:39 +05:30
Franck Nijhof
1c5e0123c9
Use literal string interpolation in integrations N-Q (f-strings) ( #26391 )
2019-09-03 11:35:00 -07:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Paulus Schoutsen
e6d7f6ed71
Config entry device tracker ( #24040 )
...
* Move zone helpers to zone root
* Add config entry support to device tracker
* Convert Geofency
* Convert GPSLogger
* Track unsub per entry
* Convert locative
* Migrate OwnTracks
* Lint
* location -> latitude, longitude props
* Lint
* lint
* Fix test
2019-05-25 13:34:53 -07:00