Commit Graph

127 Commits (039bc3501b7474f6fd5eb3fbc6f3345c9f438c83)

Author SHA1 Message Date
Marc Mueller 2c06d4fcb9
Add empty line after module docstring (2) [components] () 2024-03-08 19:15:59 +01:00
Marc Mueller 8809d3aa88
Add empty line after module docstring [g-i] () 2024-03-08 08:52:48 -05:00
Marc Mueller 8ca127df2a
Use KEY_HASS [h-z] () 2024-03-07 18:03:44 +01:00
J. Nick Koston 9f8e4cecdd
Remove update_before_add from legacy ios integration () 2024-02-20 21:26:24 +01:00
Bruno Pantaleão Gonçalves 31ef034c3f
Update iOS configuration adding Action toggles to show in CarPlay and Watch () 2024-01-22 09:22:08 -08:00
Marc Mueller a9420bf05a
Enable strict typing for ios () 2024-01-12 14:43:17 +01:00
Erik Montnemery 84e74e4c74
Reverse component path ()
* Reverse component path

* Update translations helper

* Fix

* Revert incorrect change of PLATFORM_FORMAT

* Fix use of PLATFORM_FORMAT in tts

* Fix ios
2023-12-05 08:43:58 +01:00
Ville Skyttä fa0b999d08
Upgrade ruff to 0.0.289 () 2023-09-12 22:22:10 +02:00
Ville Skyttä e7b6037419
Remove unnnecessary pylint configs from components [e-l]* () 2023-08-25 09:46:34 +02:00
Erik Montnemery 045c327928
Move DeviceInfo from entity to device registry ()
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04:00
Joost Lekkerkerker 48049d588c
Add entity translations to iOS () 2023-06-28 22:22:55 -04:00
epenet aa20c902db
Add typed helpers and improve type hints in util/json ()
* Add type hints to load_json

* Adjust ios

* Adjust nest

* Add use of load_json_array

* Add tests

* Adjust test patch

* Add test_load_json_os_error
2023-02-22 10:09:28 +01:00
epenet ba23816a0c
Inverse json import logic ()
* Fix helpers and util

* Adjust components

* Move back errors

* Add report

* mypy

* mypy

* Assert deprecation messages

* Move test_json_loads_object

* Adjust tests

* Fix rebase

* Adjust pylint plugin

* Fix plugin

* Adjust references

* Adjust backup tests
2023-02-16 11:37:57 +01:00
Erik Montnemery 90d7fb8418
Sort manifests 5 () 2023-02-08 20:35:25 +01:00
epenet 1b23429f41
Add __init__ return type to integrations () 2023-02-07 15:55:14 +01:00
Franck Nijhof 939eef3b28
Remove translations from Core ()
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
epenet bb3e0633a4
Add init return type to integrations ()
Add type hints to integrations
2023-02-06 11:37:25 +01:00
epenet 2bef69c6a7
Add hints to get_service in integrations (1/2) () 2023-01-26 16:56:57 +01:00
GitHub Action 77f9548e51 [ci skip] Translation update 2023-01-15 00:25:52 +00:00
GitHub Action cfa08c5229 [ci skip] Translation update 2022-12-15 00:24:38 +00:00
GitHub Action b9753a9f92 [ci skip] Translation update 2022-12-13 00:27:47 +00:00
GitHub Action 230b50d099 [ci skip] Translation update 2022-11-29 00:26:01 +00:00
epenet 8ed689fede
Add new rule to enforce relative imports in pylint ()
* Add new rule to enforce relative imports in pylint

* Early return

* Adjust components
2022-08-29 08:55:32 +02:00
GitHub Action a3fd5acf3f [ci skip] Translation update 2022-07-13 00:27:34 +00:00
J. Nick Koston cd03c49fc2
Wait for config entry platform forwards () 2022-07-09 17:27:42 +02:00
GitHub Action ceb8bb4745 [ci skip] Translation update 2022-05-21 00:22:49 +00:00
GitHub Action 37f81b261d [ci skip] Translation update 2022-05-16 00:24:28 +00:00
GitHub Action 66d757115c [ci skip] Translation update 2022-03-11 00:21:48 +00:00
GitHub Action 102ae9f0e3 [ci skip] Translation update 2022-02-22 00:17:23 +00:00
GitHub Action c4cc6ca0ba [ci skip] Translation update 2022-02-20 00:20:09 +00:00
Marc Mueller ab67ba20f5
Update pylint plugin to validate `_async_has_devices` () 2022-02-14 18:10:50 +01:00
GitHub Action ca7d4234e1 [ci skip] Translation update 2022-01-31 00:14:28 +00:00
GitHub Action 77ef86faee [ci skip] Translation update 2022-01-30 00:14:21 +00:00
epenet c7cb26cbab
Use Platform enum in load_platform [a-l] () 2022-01-10 10:30:47 +01:00
epenet 178d2848f3
Add setup type hints [i-k] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 12:14:13 +01:00
epenet a9901356c3
Add sensor setup type hints [i-l] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 19:11:50 +01:00
Zac West 8ee2ca8a56
Deprecate ios push config (in favor of inline actions) () 2021-12-07 08:56:08 +01:00
Marc Mueller 156435d1c2
Update integrations to use `async_setup_platforms` ()
* Replace forward_entry_setup with setup_platforms

* Apply suggestions from code review

Co-authored-by: Marvin Wichmann <marvin@fam-wichmann.de>

Co-authored-by: Marvin Wichmann <marvin@fam-wichmann.de>
2021-12-04 08:57:24 +01:00
GitHub Action 9e606abb0c [ci skip] Translation update 2021-11-23 00:13:54 +00:00
Robert Hillis 05671557f0
Use DeviceInfo Class I-K () 2021-10-23 20:42:50 +02:00
Ville Skyttä ce1eda9809
Use http.HTTPStatus in components/[ikl]* () 2021-10-22 23:06:18 +02:00
Marc Mueller 9a58bfdf41
Use assignment expressions 17 ()
Co-authored-by: Tobias Sauerwein <cgtobi@users.noreply.github.com>
2021-10-20 17:42:26 +02:00
GitHub Action f42c2f5170 [ci skip] Translation update 2021-10-02 12:59:05 +00:00
Ville Skyttä d8d34fdd3b
Prefer HTTPStatus over int in HA view JSON functions ()
* Prefer HTTPStatus over int in HA view JSON functions

* Update zwave tests to not expect a fixed typo
2021-09-22 21:59:52 +03:00
GitHub Action 65d14909ee [ci skip] Translation update 2021-08-27 00:14:42 +00:00
Erik Montnemery 2720ba2753
Move temperature conversions to sensor base class (4/8) ()
* Move temperature conversions to entity base class (4/8)

* Fix litterrobot sensor

* Fix tests
2021-08-11 21:17:47 +02:00
Marc Mueller f5901265dc
Use EntityDescription - ios ()
* Use EntityDescription - ios

* Make attribute static

* Update homeassistant/components/ios/sensor.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-08-10 16:47:52 +02:00
Daniel Hjelseth Høyer fbad453c89
Pylint 2.9.3 ()
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-07-14 21:44:57 -07:00
GitHub Action 0c5ce9cac2 [ci skip] Translation update 2021-07-07 00:11:57 +00:00
GitHub Action c81df50191 [ci skip] Translation update 2021-06-06 00:19:43 +00:00