Robert Svensson
87551b7880
Improve typing of deCONZ climate platform ( #69882 )
...
* Improve typing of deCONZ climate platform
homeassistant/components/deconz/climate.py:153: error: Dict entry 0 has incompatible type "str": "bool"; expected "str": "str" [dict-item]
homeassistant/components/deconz/climate.py:154: error: Dict entry 1 has incompatible type "str": "bool"; expected "str": "str" [dict-item]
homeassistant/components/deconz/climate.py:176: error: Argument 1 to "get" of "Mapping" has incompatible type "Optional[Literal['off', 'low', 'medium', 'high', 'on', 'auto', 'smart']]"; expected "str" [arg-type]
homeassistant/components/deconz/climate.py:200: error: Argument 1 to "get" of "Mapping" has incompatible type "Optional[Literal['off', 'auto', 'cool', 'heat', 'emergency heating', 'precooling', 'fan only', 'dry', 'sleep']]"; expected "str" [arg-type]
homeassistant/components/deconz/climate.py:218: error: Argument 1 to "set_config" of "Thermostat" has incompatible type "**Dict[str, str]"; expected "Optional[int]" [arg-type]
homeassistant/components/deconz/climate.py:218: error: Argument 1 to "set_config" of "Thermostat" has incompatible type "**Dict[str, str]"; expected "Optional[bool]" [arg-type]
homeassistant/components/deconz/climate.py:218: error: Argument 1 to "set_config" of "Thermostat" has incompatible type "**Dict[str, str]"; expected "Optional[List[str]]" [arg-type]
homeassistant/components/deconz/climate.py:225: error: Argument 1 to "get" of "Mapping" has incompatible type "Optional[Literal['holiday', 'auto', 'manual', 'comfort', 'eco', 'boost', 'complex']]"; expected "str" [arg-type]
homeassistant/components/deconz/climate.py:244: error: Unused "type: ignore" comment
homeassistant/components/deconz/climate.py:250: error: Unused "type: ignore" comment
homeassistant/components/deconz/climate.py:253: error: Unused "type: ignore" comment
* Simplify populating supported_hvac_modes
Fix tests
2022-04-14 23:19:42 +03:00
Robert Svensson
81a55703bf
Improve typing of deCONZ alarm control panel ( #69680 )
...
* Improve typing of deCONZ alarm control panel
* Fix review comments
2022-04-11 16:19:54 +02:00
Raman Gupta
b325c112b4
Add SelectorType enum and TypedDicts for each selector's data ( #68399 )
...
* rebase off current
* rearrange
* Overload selector function
* Update/fix all selector references
* better typing?
* remove extra option
* move things around
* Switch to Sequence type to avoid ignoring mypy error
* Get rid of ...'s
* Improve typing to reduce number of ignores
* Remove all typing ignores
* Make config optional for selectors that don't need a config
* add missing unit prefixes
* Rename TypedDicts
* Update homeassistant/helpers/selector.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* review feedback
* remove peta from integration integration
* Fix min_max
* Revert change to selector function
* Fix logic
* Add typing for selector classes
* Update selector.py
* Fix indent
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-04-11 09:20:56 +02:00
Matt Zimmerman
340dd3ab82
Bump smarttub to 0.0.31 ( #69599 )
2022-04-07 23:07:33 +02:00
Allen Porter
c07100e519
Move Local OAuth http endpoint registration to auth component ( #69507 )
2022-04-06 22:34:31 -07:00
epenet
9231819532
Add type hints to yeelight ( #69213 )
2022-04-04 10:58:44 +02:00
epenet
db10c313b5
Add type hints to here_travel_time ( #69216 )
...
* Add type hints to here_travel_time
* Adjust
2022-04-03 23:14:11 +03:00
epenet
f6ec0a6323
Add type hints to honeywell ( #69217 )
2022-04-03 22:06:53 +02:00
Marc Mueller
aec5d0d53d
Update hangups to 0.4.18 ( #69149 )
2022-04-03 15:46:28 +02:00
Franck Nijhof
ebfba783e0
Bump num of conflicts in pip check ( #69112 )
2022-04-02 09:38:10 +02:00
epenet
2c0153a32e
Revert "Pin click to fix typer issue" ( #68927 )
2022-03-31 14:53:18 +02:00
Joakim Sørensen
f7c936e842
Add scaffold template for backup ( #68961 )
2022-03-31 14:18:45 +02:00
Erik Montnemery
f9f360c64e
Rename helper_config_entry_flow to schema_config_entry_flow ( #68924 )
2022-03-30 14:36:47 -07:00
epenet
5b1e319947
Fix DEPENDENCY_CONFLICTS ( #68900 )
2022-03-30 15:14:54 +02:00
J. Nick Koston
af6a62ca79
Strict typing for homekit part 1 ( #67657 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-03-30 11:21:07 +02:00
Marc Mueller
c3d937fb0f
Fix codeowners script for nested files ( #68590 )
2022-03-29 13:17:49 +02:00
epenet
35a5cca1ca
Cleanup package constraints ( #68833 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-29 11:44:19 +02:00
epenet
f067aa6d71
Pin click to fix typer issue ( #68808 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-29 00:07:29 +02:00
Paulus Schoutsen
5eee600fa8
Ban brand name translations as step titles ( #68801 )
2022-03-28 10:41:39 -07:00
Paulus Schoutsen
e80933d6c7
Force helpers to have a mandatory description ( #68796 )
2022-03-28 10:32:15 -07:00
Paulus Schoutsen
20c0a5a838
Add support for field descriptions in config flows ( #68604 )
2022-03-24 17:25:50 -07:00
Franck Nijhof
f562f4264f
Update grpcio to 1.45.0 ( #68632 )
2022-03-24 20:45:18 +01:00
Franck Nijhof
8aff8d89d2
Clean up async_reproduce_state helper usage ( #68617 )
2022-03-24 14:40:54 +01:00
Erik Montnemery
c44d7205cf
Rename HelperFlowStep to HelperFlowFormStep ( #68583 )
2022-03-23 14:43:11 -07:00
Erik Montnemery
a50bac5cc2
Make initial group config flow step a menu ( #68565 )
2022-03-23 08:34:44 -07:00
Erik Montnemery
34063836ba
Fix scaffold script ( #68516 )
2022-03-22 19:51:24 +01:00
Paulus Schoutsen
3213091b8d
Add integration type ( #68349 )
2022-03-20 20:38:13 -07:00
Robert Hillis
40484a3483
Tweak hassfest codeowners script ( #68382 )
2022-03-20 22:04:55 +01:00
Aaron Bach
314154d5c5
Bump aioridwell to 2022.03.0 ( #68423 )
2022-03-20 19:13:52 +01:00
Marc Mueller
3b798ee14a
Fix pip_check ( #68421 )
2022-03-20 16:29:50 +01:00
Franck Nijhof
2686be921c
Remove deprecated (old) Z-Wave integration ( #67221 )
...
* Remove deprecated (old) Z-Wave integration
* Mark migration tests as skip, for later cleanup
2022-03-18 13:09:10 +01:00
Erik Montnemery
ead5b3e2c0
Improve strings for helper flow scaffold ( #68257 )
2022-03-17 13:14:38 +01:00
epenet
d6f5f0c794
Bump samsungtvws to 2.4.0 ( #68225 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-16 20:44:14 -10:00
Paulus Schoutsen
f6af93ae35
Add support for menu step ( #68203 )
2022-03-16 14:14:50 -07:00
Erik Montnemery
f0dba8ec70
Add scaffold for helper integration config flow ( #67803 )
2022-03-16 12:57:56 +01:00
Franck Nijhof
aa82f96c16
Use Platform StrEnum in Hassfest manifest plugin ( #68234 )
2022-03-16 11:21:51 +01:00
Marc Mueller
aabf46b1b3
Fix point by adding authlib constraint ( #68176 )
...
* Fix point by pinning authlib
* Use constraint
2022-03-15 15:56:08 +01:00
Marc Mueller
7ab9e5cf0f
Improve sonos error decorator typing ( #67199 )
2022-03-15 09:24:52 +01:00
Franck Nijhof
57c33a5cf0
Remove deprecated OpenZWave integration ( #68054 )
2022-03-14 17:33:04 +01:00
Marc Mueller
41df798375
Bump mypy to 0.940 ( #68007 )
2022-03-11 15:57:38 -08:00
Marc Mueller
cc11562fa2
Bump volvooncall to 0.10.0 ( #67918 )
2022-03-09 21:31:27 +02:00
epenet
8260767e8f
Enable basic type checking in upnp ( #66253 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-08 07:51:23 +01:00
Paulus Schoutsen
58321c50e1
Fix scaffold ( #67769 )
2022-03-07 01:13:39 +01:00
Erik Montnemery
209a5854f8
End JSON files updated by scaffold script with a newline ( #67639 )
2022-03-04 15:50:23 +01:00
uvjustin
a81fa31314
Bump httpx and httpcore ( #67438 )
2022-03-01 09:17:25 -10:00
Franck Nijhof
82948cc6c1
Update google-cloud-texttospeech to 2.10.0 ( #66746 )
2022-03-01 10:19:13 +01:00
Franck Nijhof
487f4dcd90
Remove deprecated Raspihats integration ( #67380 )
2022-02-28 23:10:58 +01:00
Franck Nijhof
0db6a0b248
Remove deprecated Bosch BME680 Environmental Sensor integration ( #67273 )
2022-02-28 13:29:13 +01:00
Franck Nijhof
e4903f9a13
Remove deprecated HTU21D(F) Sensor integration ( #67279 )
2022-02-27 15:35:39 +01:00
Martin Hjelmare
d299915c1a
Fix netgear typing ( #67287 )
2022-02-26 14:00:33 -08:00
Franck Nijhof
9920b3eef5
Remove deprecated Enviro pHAT integration ( #67277 )
2022-02-26 13:35:13 -08:00
Franck Nijhof
fbfdabe4fc
Remove deprecated Raspberry Pi RF integration ( #67283 )
2022-02-26 13:26:41 -08:00
Franck Nijhof
ae073d132c
Remove deprecated Bosch BME280 Environmental Sensor integration ( #67185 )
2022-02-24 23:54:01 +02:00
Franck Nijhof
dd927adba9
Remove deprecated Blinkt! integration ( #67165 )
2022-02-24 19:26:32 +02:00
Franck Nijhof
636e4ed90b
Remove deprecated Time of Flight integration ( #67167 )
2022-02-24 14:47:20 +01:00
Marc Mueller
8b7639940e
Fix type issues [mobile_app] ( #67091 )
2022-02-23 08:47:54 -08:00
Robert Svensson
dd88a05cb4
Make type checking pass for deCONZ init, gateway and services ( #66054 )
...
* Type and enable type checking for init, config_flow, diagnostics, gateway and services
* Fix import
* Fix review comment
2022-02-23 13:10:35 +01:00
Timothy Kist
6a5215dc0e
Allow multidict 6.0.2+ to fix ZHA, gTTS and other integrations ( #67046 )
2022-02-23 12:25:54 +01:00
Marc Mueller
4fecd5d8af
Fix type issues [fireservicerota] ( #67094 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-02-23 11:53:02 +01:00
Marc Mueller
b6572d1cab
Fix type issues [geniushub] ( #67095 )
2022-02-23 09:55:26 +01:00
Marc Mueller
c11663344d
Fix type issues [firmata] ( #67093 )
2022-02-23 08:57:06 +01:00
Marc Mueller
636d791b37
Fix type issues [litterrobot] ( #67092 )
2022-02-23 08:44:35 +01:00
Martin Hjelmare
d96c2df6a8
Bump pyicloud to 1.0.0 ( #67037 )
2022-02-22 16:25:46 +01:00
Marc Mueller
995f4fbfda
Upgrade pwmled to 1.6.10 ( #67034 )
2022-02-22 14:45:05 +01:00
Marc Mueller
8eb7507482
Cleanup after setup.py removal ( #67036 )
2022-02-22 14:32:55 +01:00
Franck Nijhof
0042fd5199
Fix nightly builder ( #67022 )
2022-02-22 11:27:38 +01:00
Paulus Schoutsen
7c7a86242e
Allow supported brands in manifests ( #67015 )
2022-02-22 08:42:57 +01:00
Mick Vleeshouwer
5af4068583
Fix binary sensor translations for carbon_monoxide ( #66891 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-02-21 10:34:38 -08:00
Teemu R
483545eeaa
Bump python-songpal dependency to 0.14 ( #66769 )
...
* Bump python-songpal dependency to 0.14
* Fix tests
* pip_check -1
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-02-18 11:31:46 +02:00
Allen Porter
703d01e772
Bump grpcio to 1.44.0 ( #66787 )
2022-02-17 23:12:05 -08:00
Franck Nijhof
276fd4f42c
Add Python 3.10 to CI ( #59729 )
2022-02-17 14:58:24 +01:00
Franck Nijhof
1a9fda96c3
Revert "Update google-cloud-texttospeech to 2.10.0" ( #66736 )
2022-02-17 14:05:07 +01:00
Franck Nijhof
72fad87aef
Update google-cloud-texttospeech to 2.10.0 ( #66726 )
2022-02-17 12:06:49 +01:00
Franck Nijhof
58742f8be6
Update plugwise 0.16.5 ( #66684 )
2022-02-16 22:35:51 +01:00
J. Nick Koston
f069a37f7d
Allow integrations to request dhcp discovery flows for registered devices ( #66528 )
2022-02-15 11:02:52 -06:00
Franck Nijhof
cb03db8df4
Replace discord.py with nextcord ( #66540 )
...
* Replace discord.py with nextcord
* Typing tweak
* Another pip check decrease :)
2022-02-15 10:37:41 +01:00
epenet
47d6f75c17
Enable basic type checking in template ( #66222 )
...
* Fix binary_sensor
* Adjust button
* Adjust fan
* Adjust select
* Adjust template_entity
* Adjust trigger_entity
* Adjust weather
* Adjust init
* Adjust number
* Adjust None check
2022-02-10 10:59:54 +01:00
epenet
ea325ef027
Enable basic type checking in demo platforms ( #66212 )
...
* Adjust type hints in demo platforms
* Adjust mypy config
* Adjust name
2022-02-10 10:05:58 +01:00
epenet
f17d66228c
Enable basic type checking in demo init ( #66218 )
...
* Enable basic type checking in demo init
* Remove from mypy ignore list
2022-02-10 09:04:36 +01:00
epenet
f4aaa981a1
Adjust coverage to include all config flows ( #66193 )
...
* Adjust tradfri
* Adjust huawei_lte
* Adjust iqvia
* Adjust wiffi
* Adjust solarlog
* Adjust lifx
* Adjust doorbird
* Adjust rachio
* Adjust starline
* Adjust konnected
* Adjust ambient_station
* Adjust tado
* Adjust point
* Adjust daikin
* Adjust hangouts
* Adjust ifttt
* Adjust ios
* Adjust life360
* Adjust sms
* Adjust spider
* Adjust upnp
* Adjust hassfest
2022-02-09 22:19:29 +01:00
Erik Montnemery
83a10cca53
Enable basic type checking for config ( #66197 )
2022-02-09 19:09:55 +01:00
Franck Nijhof
b9f21d4e07
Improve typing of Spotify ( #66109 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-08 23:07:13 +01:00
Franck Nijhof
d12a392767
Update plugwise 0.16.2 ( #65933 )
2022-02-08 11:13:05 +01:00
Franck Nijhof
da3024e162
Upgrade to newer Python pip>=21.0 ( #59769 )
2022-02-07 15:12:04 +01:00
Marc Mueller
633aad3a60
Cycle pip wheel cache on dev version bump [CI] ( #65791 )
2022-02-07 00:25:22 +01:00
Franck Nijhof
e386f4846d
Update delijn to 1.0.0 ( #65776 )
...
* Update delijn to 1.0.0
* -1
2022-02-05 13:31:04 +01:00
J. Nick Koston
6c38a6b569
Enable strict typing for isy994 ( #65439 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-03 17:02:05 +01:00
epenet
f95183f6a8
Make mypy IGNORED_MODULES file specific ( #65416 )
...
* Make mypy IGNORED_MODULES file specific
* Adjust sonos type hints
* Remove legacy nest from IGNORED_MODULES
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-03 14:21:06 +01:00
Marc Mueller
cd67ddbe26
Upgrade pwmled to 1.6.9 ( #65465 )
2022-02-03 12:16:53 +01:00
epenet
9fde84ab41
Remove freebox from mypy ignore list ( #65126 )
...
* Add type hints to freebox
* Remove freebox from mypy ignore list
* Adjust type hints
* Refactor FreeboxRouter setup/close
* Remove unnecessary assert
* Remove unused constant
* Rework unload routine
* Bring back close method
* Suppress NotOpenError
* Use async_on_unload on signal_device_new
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-03 10:01:41 +01:00
epenet
8325188ed2
Remove nest legacy from mypy ignored modules ( #65421 )
...
* Remove nest legacy from mypy ignored modules
* Set type-ignore inside the files
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-02-03 06:57:44 +01:00
Jc2k
dd5bcafab7
Enable mypy checks for homekit_controller ( #65358 )
2022-02-01 11:27:35 +00:00
Marc Mueller
783e26e8e4
Use isolated build environments ( #65145 )
2022-01-28 14:09:05 -08:00
J. Nick Koston
5b755b74fb
Add loggers to integration manifest.json ( #65083 )
2022-01-28 13:37:53 -08:00
Marc Mueller
75f39f9ca2
Move version metadata key to setup.cfg ( #65091 )
...
* Move version to setup.cfg
* Move python_requires to setup.cfg
* Add script to validate project metadata
* Add dedicated pre-commit hook
2022-01-28 13:36:20 +01:00
Marc Mueller
86ed720335
Move `install_requires` to `setup.cfg` ( #65095 )
2022-01-27 22:34:18 -08:00
Marc Mueller
f6c679699f
Add plugin option [hassfest] ( #65024 )
2022-01-26 20:52:09 -08:00
Marc Mueller
5e633498d2
Enable `no_implicit_reexport` for core files [mypy] ( #63820 )
2022-01-26 10:55:06 +01:00
Shay Levy
6d5c2bb34b
Bump aioshelly to 1.0.8 ( #64864 )
...
* Bump aioshelly to 1.0.8
* Update DEPENDENCY_CONFLICTS
2022-01-24 23:26:38 +02:00
uvjustin
3b3a8db291
Bump httpx to 0.21.3 and pin requirements for httpcore, anyio, and h11 ( #64822 )
2022-01-24 10:43:39 +01:00