1
mirror of https://github.com/home-assistant/core synced 2024-08-02 23:40:32 +02:00
Commit Graph

953 Commits

Author SHA1 Message Date
Erik Montnemery
30fd902764
Correct zone state (#65040)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-01-27 10:01:09 -08:00
GitHub Action
47d3fb1dec [ci skip] Translation update 2022-01-23 00:13:53 +00:00
epenet
4eae888546
Fix incorrect type hint in config_per_platform helper (#63890)
* Adjust base helper

* Filter type is not None in mailbox

* Filter empty platforms in device_tracker

* Filter out empty platform in notify

* Filter out empty platform in entity_component

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-11 17:28:37 +01:00
epenet
0ac9b62f97
Fix incorrect type hint in async_setup_scanner (#63833)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 22:47:24 +01:00
Marc Mueller
01baa20671
Fix implicit reexport [dt_util] (#63829) 2022-01-10 16:31:23 +01:00
Marc Mueller
d61a96f0ab
Use correct relative imports [a-m] (#63470) 2022-01-05 17:28:12 +01:00
Paulus Schoutsen
2b4bb49eb7
Make device tracker entities work better (#63328)
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-04 23:16:43 -08:00
Tobias Sauerwein
2c904c0974
Bump mypy to 0.930 (#62642)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-12-27 17:55:17 +01:00
Erik Montnemery
0e3bc21d54
Teach state and numeric_state conditions about entity registry ids (#60841) 2021-12-02 14:55:12 -08:00
Erik Montnemery
5b8d081441
Teach zone trigger about entity registry ids (#60838) 2021-12-02 10:28:21 -08:00
GitHub Action
a925451906 [ci skip] Translation update 2021-11-30 00:13:53 +00:00
Erik Montnemery
caf5ee2fab
Remove optional validation when creating conditions (#60481) 2021-11-28 14:54:07 +01:00
GitHub Action
3af54d96c7 [ci skip] Translation update 2021-11-28 00:14:19 +00:00
GitHub Action
96313bbbe0 [ci skip] Translation update 2021-11-27 00:12:17 +00:00
GitHub Action
d3c020325b [ci skip] Translation update 2021-11-25 00:13:33 +00:00
GitHub Action
72b0eb719e [ci skip] Translation update 2021-11-20 00:12:27 +00:00
Damien Duboeuf
67c2747027
Add MQTT object_id option (#58728)
* Add MQTT object_id option

* Add MQTT object_id option

* Add MQTT object_id option

* Add MQTT object_id option - Fix light and vacuum

* Add MQTT object_id option - Fix light and vacuum

* Add MQTT object_id option - Fix lock

* Add MQTT object_id option - Fix device

* Add MQTT object_id option - Fix device

* Update tests/components/mqtt/test_discovery.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Change deprecated method

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-11-08 14:02:18 +01:00
GitHub Action
e35b83081e [ci skip] Translation update 2021-11-08 00:12:31 +00:00
Marc Mueller
7063c05127
Use assignment expressions 33 (#58717) 2021-10-30 16:32:41 +02:00
Marc Mueller
eab235173b
Use assignment expressions 28 (#58189) 2021-10-22 14:06:04 +02:00
Marc Mueller
364767ff22
Import Callable from collections.abc (4) (#56778) 2021-09-29 16:15:36 +02:00
GitHub Action
f9e6e616f4 [ci skip] Translation update 2021-09-08 00:10:52 +00:00
Ville Skyttä
b10fc89a6b
Automation trigger info type hint improvements (#55402)
* Make automation trigger info a TypedDict

* zwave_js trigger type hint fixes

* Remove redundant automation trigger info field presence checks

* Use async_initialize_triggers in mqtt and tasmota device_trigger tests
2021-09-04 02:25:51 +02:00
Ville Skyttä
0095c6baeb
Improve device trigger type hinting (#54907) 2021-08-22 20:32:50 +02:00
GitHub Action
ba93bda3ad [ci skip] Translation update 2021-08-05 00:34:46 +00:00
GitHub Action
8c5620e74b [ci skip] Translation update 2021-08-02 03:40:04 +00:00
Marc Mueller
10bfc78365
Fix missing encoding with open() (#53593)
* Fix missing encoding with open()

* Fix tests

* Improve open - frontend
2021-07-28 09:41:45 +02:00
Paulus Schoutsen
ba00c786b0
Correctly detect is not home (#53279) 2021-07-21 19:45:07 +02:00
Erik Montnemery
76c3058d15
Rename device trigger base schema to DEVICE_TRIGGER_BASE_SCHEMA (#51719) 2021-06-10 19:11:38 +02:00
Erik Montnemery
04e9acc20a
Simplify device condition code (#51266) 2021-05-31 09:47:30 +02:00
tkdrob
028a07d86f
Wrap up selectors (#50794)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-25 14:45:17 +02:00
Ruslan Sayfutdinov
b704f0e729
Add strict typing to device_tracker (#50930)
* Add strict typing to device_tracker

* Update homeassistant/components/device_tracker/legacy.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-22 09:15:15 +01:00
Ruslan Sayfutdinov
00208ff0d8
Use type safe import for device_tracker.PLATFORM_SCHEMA (#50860) 2021-05-21 13:08:40 +02:00
Ruslan Sayfutdinov
62386c8676
Enable type checks for device_tracker (#50805)
* Enable type checks for device_tracker

* Fix MQTT test
2021-05-19 09:36:26 +01:00
tkdrob
046f02b7b8
Add selectors to device_tracker services (#49780) 2021-04-27 20:31:53 +02:00
Ville Skyttä
1c587d2e47
Fix and add some ScannerEntity property type hints (#49500) 2021-04-20 23:38:07 +03:00
Marc Mueller
c07646db5d
Update typing syntax (#49480)
* Update typing syntax

* Replace typing imports with ones from collections where possible

* Changes after review
2021-04-20 17:40:41 +02:00
Joakim Sørensen
9585defca0
Add device_tracker scanners to hass.config.components (#49063) 2021-04-11 13:54:43 -10:00
J. Nick Koston
12e3bc8101
Provide api to see which integrations are being loaded (#48274)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-04-04 22:11:44 -10:00
Franck Nijhof
855b68faa1
Remove HomeAssistantType alias from entity components - Part 1 (#48467) 2021-03-29 13:24:36 -10:00
J. Nick Koston
1fb9008488
Include platform only integrations in the manifest list api (#48269) 2021-03-29 12:51:48 +02:00
Erik Montnemery
72281f4718
Validate device trigger schemas once (#48319) 2021-03-26 08:09:21 +01:00
HomeAssistant Azure
55b689b464 [ci skip] Translation update 2021-03-23 00:03:29 +00:00
Erik Montnemery
346a724ac3
Mark base components' state_attribute @final, rename others to extra_state_attributes (#48161)
* Mark base state_attributes @final, rename others to extra_state_attributes

* Fix calendar, update tests
2021-03-21 10:38:24 +01:00
HomeAssistant Azure
098c53e8b5 [ci skip] Translation update 2021-03-20 00:04:10 +00:00
Marc Mueller
7c0734bdd5
Update typing 05 (#48038) 2021-03-17 23:43:55 +01:00
HomeAssistant Azure
c11b85af2f [ci skip] Translation update 2021-03-16 00:04:36 +00:00
Erik Montnemery
6c084ae6ce
Update integrations a-e to override extra_state_attributes() (#47756) 2021-03-11 16:51:03 +01:00
Ville Skyttä
dc880118a4
Lint suppression cleanups (#47248)
* Unused pylint suppression cleanups

* Remove outdated pylint bug references

* Add flake8-noqa config and note to run it every now and then

* Add codes to noqa's

* Unused noqa cleanups
2021-03-02 09:02:04 +01:00
Ville Skyttä
a6358430b4
Fix deprecated asyncio.wait use with coroutines (#44981)
https://docs.python.org/3/library/asyncio-task.html#asyncio-example-wait-coroutine
2021-02-10 14:16:58 +01:00