Jan-Philipp Benecke
bc8929d37f
Use debug/warning instead of info log level in components [o] ( #126138 )
2024-09-17 19:44:12 +02:00
Sid
6587ee20db
Enable Ruff TRY300 ( #114437 )
...
* Enable Ruff TRY300
* Update validation.py
* Address review comments
2024-03-30 10:37:59 +01:00
Marc Mueller
2c06d4fcb9
Add empty line after module docstring (2) [components] ( #112736 )
2024-03-08 19:15:59 +01:00
Franck Nijhof
8c993116e1
Enable Ruff SIM401 ( #86790 )
...
* Enable Ruff SIM401
* Adjust found cases
2023-01-27 13:08:44 +01:00
Franck Nijhof
94755a5773
String formatting and max line length - Part 4 ( #84445 )
...
Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
2022-12-23 13:27:27 +01:00
Marc Mueller
450b7cd644
Use device_tracker SourceType enum [n-r] ( #75965 )
2022-07-31 15:48:43 +02:00
Marc Mueller
6eef3c16f2
Update pylint to 2.13.8 ( #71280 )
2022-05-04 12:14:24 +02:00
Marc Mueller
ec980a574b
Improve typing [util.decorator] ( #67087 )
2022-02-23 20:58:42 +01:00
Paulus Schoutsen
9e07910ab0
Mark entities as unavailable when they are removed but are still registered ( #45528 )
...
* Mark entities as unavailable when they are removed but are still registered
* Add sync_entity_lifecycle to collection helper
* Remove debug print
* Lint
* Fix tests
* Fix tests
* Update zha
* Update zone
* Fix tests
* Update hyperion
* Update rfxtrx
* Fix tests
* Pass force_remove=True from integrations
Co-authored-by: Erik <erik@montnemery.com>
2021-02-08 10:45:46 +01:00
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