Commit Graph

14 Commits (037b3ebd26c5c211306650fe7a6fb2de3cc54b02)

Author SHA1 Message Date
epenet 5b80b1f55a
Add type hints to integration tests (part 25) (#88308) 2023-02-17 16:52:28 +01:00
Franck Nijhof ed79265843
Enable Ruff PT006 (#88165)
* Enable Ruff PT006

* Adjust existing cases

* Fix tests

* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
Erik Montnemery cc564026fa
Move EntityCategory to homeassistant.const (#87792)
* Move EntityCategory to homeassistant.const

* Fix more imports
2023-02-09 20:15:37 +01:00
epenet a79be493e5
Adjust hass_client type hint in integration tests (#86954)
* Adjust hass_client type hint in integration tests

* Adjust hass_client_no_auth

* Fix rebase
2023-02-02 16:29:57 -05:00
Franck Nijhof bcf32f8331
Mark required fields in FlowResult typedict (#84811)
* Mark required fields in FlowResult typedict

* Remove unneeded asserts from tests
2022-12-30 12:01:45 +01:00
Franck Nijhof 2aa98da624
Migrate Whois to new entity naming style (#75019) 2022-07-14 10:56:01 +02:00
Franck Nijhof a6244eea28
Search/replace RESULT_TYPE_* by FlowResultType enum (#74656) 2022-07-07 21:28:18 +02:00
Franck Nijhof a29afc3731
Clean up Whois tests use entity_registry_enabled_by_default fixture (#68113) 2022-03-14 11:41:56 +01:00
Franck Nijhof 1d03313bf5
Remove deprecated YAML configuration from Whois (#67163)
* Remove deprecated YAML configuration from Whois

* Clean up platform schema
2022-02-24 10:03:42 +01:00
J. Nick Koston 62fd31a1e7
Handle missing attrs in whois results (#65254)
* Handle missing attrs in whois results

- Some attrs are not set depending on where the
  domain is registered

- Fixes #65164

* Set to unknown instead of do not create

* no multi-line lambda
2022-01-30 13:19:04 -08:00
Franck Nijhof 02d81374f8
Add full test coverage to Whois (#64899) 2022-01-25 18:33:53 +01:00
Franck Nijhof ed924325e3
Add init tests for Whois (#64862) 2022-01-25 08:53:34 +01:00
Franck Nijhof 20a277c0ab
Replace whois library in Whois integration (#63227) 2022-01-20 11:21:58 +01:00
Franck Nijhof b5300fb32e
Add configuration flow to Whois (#63069)
Co-authored-by: Dave T <17680170+davet2001@users.noreply.github.com>
2021-12-30 22:42:46 +01:00