Commit graph

21 commits

Author SHA1 Message Date
epenet
2214fff3b4
Cleanup device_tracker imports (#81139) 2022-10-28 17:40:37 +02:00
epenet
b5402f9b57
Import device tracker constants from root (#78242) 2022-09-12 20:50:44 -04:00
epenet
6355e682fa
Improve entity type hints [m] (#77816) 2022-09-05 10:59:36 +02:00
Marc Mueller
2b1e1365fd
Add StrEnum for device_tracker SourceType (#75892)
Add StrEnum for device_tracker SourceType
2022-07-29 13:09:03 +02:00
Franck Nijhof
15cffbe496
Clean up async_dispatcher_connect helper usage (#68613) 2022-03-24 13:19:11 +01:00
Marc Mueller
8b7639940e
Fix type issues [mobile_app] (#67091) 2022-02-23 08:47:54 -08:00
epenet
a46f25f2a9
Add device_tracker setup type hints (#63286)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 15:19:38 +01:00
Marc Mueller
7063c05127
Use assignment expressions 33 (#58717) 2021-10-30 16:32:41 +02:00
Marc Mueller
184e0d7fdf
Use assignment expressions 26 (#58187) 2021-10-22 11:31:17 +02:00
Joakim Sørensen
3e7729faf2
Handle blank string in location name for mobile app (#51130) 2021-05-27 06:04:05 +02:00
Erik Montnemery
14a59d290a
Update integrations j-o to override extra_state_attributes() (#47758) 2021-03-11 20:11:25 +01:00
tkdrob
ab53b49d3f
Clean up constants (#46948)
* Clean up constants

* clean up humidifier constants

* fix tests

* fix prometheus tests

Co-authored-by: Tobias Sauerwein <cgtobi@users.noreply.github.com>
2021-03-02 12:52:00 +01:00
Philip Allgaier
625bbe6238
Cleanup unused loggers (components A-M) (#41600) 2020-10-12 16:59:05 +02:00
Paulus Schoutsen
7678d66464
Fix device tracker TrackerEntity defaults (#32459) 2020-03-04 09:43:52 +01:00
Paulus Schoutsen
834929a14e
Clean up mobile app webhooks (#30123) 2019-12-21 22:45:06 +01:00
Diefferson Koderer Môro
3e9d28f28a Move imports in mobile_app component (#28027) 2019-10-21 10:05:41 +02:00
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25:30 -07:00
David F. Mulcahey
3c487928d4 New scanner device tracker and ZHA device tracker support (#24584)
* initial implementation for zha device trackers

* constant

* review comments

* Revert "review comments"

This reverts commit 2130823566820dfc114dbeda08fcdf76ed47a4e7.

* rename device tracker entity

* update trackers

* raise when not implemented

* Update homeassistant/components/device_tracker/config_entry.py

Review comment

Co-Authored-By: Martin Hjelmare <marhje52@kth.se>

* move source type to base state attrs

* review comments

* review comments

* review comments

* fix super call

* fix battery and use last seen from device

* add test

* cleanup and add more to test

* cleanup post zha entity removal PR

* add tests for base entities

* rework entity tests
2019-07-04 12:44:39 +02:00
Paulus Schoutsen
8b4ef3bbdd
Guard against bad states in Mobile App/OwnTracks (#24292) 2019-06-04 10:18:26 -07:00
Paulus Schoutsen
6795db9bd6 Mobile app device tracker to restore state (#24266) 2019-06-03 10:30:56 +02:00
Paulus Schoutsen
b4374c8c4c Mobile app to use device tracker config entry (#24238)
* Mobile app to use device tracker config entry

* Lint

* Re-use device_info

* Lint
2019-05-31 23:01:45 -07:00