Commit graph

1031 commits

Author SHA1 Message Date
Franck Nijhof
6ebdf0580b
Remove last occurrences of RESULT_TYPE_* from codebase (#74670)
Remove last ocurrances of RESULT_TYPE_* from codebase
2022-07-07 22:35:06 +02:00
epenet
c6bff8ae18
Remove philips_js from mypy ignore list (#74659)
* Remove philips_js from mypy ignore list

* Use class attribute
2022-07-07 22:00:19 +02:00
epenet
bd43f0393c
Remove influxdb from mypy ignore list (#74612) 2022-07-07 20:51:38 +03:00
epenet
dc0c41982f
Remove meteo_france from mypy ignore list (#74613) 2022-07-07 20:50:08 +03:00
epenet
6540ba6239
Remove hassio from mypy ignore list (#74603)
* Remove hassio from mypy ignore list

* Avoid if TYPE_CHECKING
2022-07-07 15:14:36 +02:00
epenet
f19c542d6d
Remove denonavr from mypy ignore list (#74580) 2022-07-07 12:14:46 +02:00
epenet
5ae593672e
Remove google_assistant from mypy ignore list (#74587) 2022-07-07 11:35:45 +02:00
epenet
5e63a44e71
Remove home_plus_control from mypy ignore list (#74448) 2022-07-06 22:45:54 +03:00
epenet
8fb9b45e42
Remove input_datetime from mypy ignore list (#74447)
* Remove input_datetime from mypy ignore list

* Use assert

* Use cast

* Use common logic for initial parsing
2022-07-06 10:26:24 +02:00
epenet
a27d483009
Remove unifi from mypy ignore list (#74456)
* Remove unifi diagnostics from mypy ignore list

* Remove unifi init from mypy ignore list

* Remove unifi device tracker from mypy ignore list

* Adjust doc string

* Adjust doc string

* Remove unifi entity base from mypy ignore list

* Keep comprehension

* Remove unifi config flow from mypy ignore list

* Fix circular import
2022-07-06 10:25:53 +02:00
epenet
cbe9eda0a8
Remove lyric from mypy ignore list (#74451) 2022-07-05 13:24:18 -05:00
epenet
110d9232cd
Remove melcloud from mypy ignore list (#74410) 2022-07-04 23:05:53 -07:00
epenet
560fbd1a0e
Remove lutron_caseta from mypy ignore list (#74427) 2022-07-04 14:10:26 -05:00
epenet
1536936177
Remove harmony from mypy ignore list (#74425) 2022-07-04 13:39:14 -05:00
epenet
e3bd63934b
Remove gree from mypy ignore list (#74411) 2022-07-04 16:47:35 +02:00
epenet
035e96a79b
Remove system_health from mypy ignore list (#74415) 2022-07-04 16:46:59 +02:00
Franck Nijhof
105b1b9d58
Update numpy to 1.23.0 (#74250) 2022-06-30 10:04:59 -07:00
Franck Nijhof
42533ebbb3
Update requests to 2.28.1 (#74210) 2022-06-29 20:40:58 -05:00
Joakim Sørensen
2f60db6f80
Pin charset-normalizer to 2.0.12 (#74104) 2022-06-28 18:20:56 +02:00
epenet
8bed2e6459
Remove zha from mypy ignore list (#73603) 2022-06-28 13:53:20 +02:00
epenet
87b46a699a
Fix mypy issues in zha store (#74032) 2022-06-28 08:52:20 +02:00
epenet
fb10853358
Fix mypy issues in zha core modules (#74028)
* Fix mypy issues in zha gateway, group and helpers

* Cleanup device

* Apply suggestion

* Raise ValueError

* Use hass.config.path
2022-06-28 08:50:16 +02:00
RenierM26
10ea88e0ea
Switchbot bump Dependency 0.14.0 (#74001)
* Bump requirement.

* Switchbot depenacy update, full async.

* Update tests, remove redundant config entry check.

* Update requirements_test_all.txt

* Update requirements_all.txt

* Remove asyncio lock. Not required anymore with bleak.

* Update requirements_all.txt

* Update requirements_test_all.txt

* pyswitchbot no longer uses bluepy
2022-06-27 13:56:51 +02:00
epenet
b880a05e45
Fix type hints in zha remaining channels (#73778)
* Fix hvac channel type hints

* Fix security channel type hints

* Fix homeautomation channel type hints

* Fix type hints in zha base channel

* Adjust select entity

* Remove unused arg
2022-06-24 10:35:38 -04:00
Pascal Vizeli
6cf9b22b5a
Python 3.10 / Base image 2022.06.01 (#73830)
* Python 3.10 / Base image 2022.06.01

* Update requirements

* push opencv

* we don't need numpy on core for now

* Remove unused ignore

Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-06-22 12:04:39 -05:00
epenet
33a84838b4
Fix type hints in zha smartenergy channel (#73775)
* Fix type hints in zha smartenergy channel

* Adjust unit_of_measurement
2022-06-22 07:41:28 -04:00
epenet
243905ae3e
Fix cover, light, select, sensor, switch type hints in zha (#73770)
* Fix zha sensor type hints

* Fix zha entity type hints

* Fix switch type hints

* Fix light type hints

* Fix cover type hints

* Fix select type hints
2022-06-21 21:04:24 -04:00
epenet
6c83ed4c9d
Fix api, button and climate type hints in zha (#73771)
* Fix zha api type hints

* Fix zha button type hints

* Fix zha climate type hints
2022-06-21 21:02:08 -04:00
epenet
21275669d5
Fix inheritance in zha general channel (#73774)
Fix general channel type hints in zha
2022-06-21 21:00:58 -04:00
epenet
4bc1314499
Fix REPORT_CONFIG type hint in zha (#73762)
Fix REPORT_CONFIG type hint
2022-06-20 18:32:32 -04:00
epenet
f43cc18aa3
Fix type hints in zha platforms (#73745)
* Adjust binary_sensor

* Adjust device_action

* Adjust device_tracker

* Adjust fan

* Adjust lock

* Adjust siren
2022-06-20 11:31:16 -04:00
epenet
be2aa44559
Fix mypy issues in zha config_flow (#73744) 2022-06-20 16:25:24 +02:00
epenet
b318b9b196
Improve onvif type hints (#73642)
* Remove onvif from mypy ignore list

* Adjust parsers

* Adjust event

* Adjust config_flow
2022-06-20 12:07:33 +02:00
epenet
06e45893aa
Remove invalid type definitions in zha (#73596) 2022-06-20 11:28:53 +02:00
epenet
a92105171c
Remove vizio from mypy ignore list (#73585)
* Remove vizio config_flow from mypy ignore list

* Fix mypy errors

* Adjust media_player

* Add space
2022-06-19 21:39:24 +02:00
epenet
94a8fe0052
Remove xiaomi_aqara from mypy ignore list (#73526) 2022-06-15 10:45:47 +02:00
Erik Montnemery
e3b6c7a66f
Add Home Assistant Yellow integration (#73272)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-06-13 23:25:11 -07:00
Allen Porter
e74c711ef3
Add application credentials description strings (#73014) 2022-06-08 07:09:32 -07:00
Christopher Bailey
133cb7ccef
Add package constraint for pydantic (#72799)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-31 20:04:35 -10:00
Paulus Schoutsen
6a3d2e54a2
Handle OAuth2 rejection (#72040) 2022-05-28 20:23:16 -07:00
uvjustin
01b5f98414
Bump httpx to 0.23.0 (#72573)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-26 21:20:37 -10:00
Erik Montnemery
0cca73fb23
Add hardkernel hardware integration (#72489)
* Add hardkernel hardware integration

* Remove debug prints

* Improve tests

* Improve test coverage
2022-05-26 13:15:44 -07:00
Marc Mueller
1ac71455cb
Move remaining metadata to pyproject (#72469) 2022-05-26 02:54:49 +02:00
Erik Montnemery
2bc093a04d
Hardware integration MVP (#71677) 2022-05-25 20:39:15 +02:00
Paulus Schoutsen
373ad21ce3
Fix translations clean up script (#72114) 2022-05-23 11:00:17 +02:00
epenet
4d8593402e
Fix no-implicit-reexport sorting issue (#72015) 2022-05-17 17:35:03 +02:00
Franck Nijhof
c7b4aca998
Add more to no implicit reexport modules (#71947) 2022-05-17 15:29:22 +02:00
Franck Nijhof
7d2deae592
Clean up use of deprecated async_get_registry methods (#72001) 2022-05-17 13:40:19 +02:00
Allen Porter
5d32659d17
Update scaffold script to use application_credentials platform (#71881) 2022-05-16 17:11:09 +02:00
uvjustin
221b77297e
Declare exports from stream explicitly (#71898) 2022-05-15 17:58:57 +02:00