Commit Graph

27 Commits (bfc82b030f1cc31ede2ca18a989c2d3f8961c565)

Author SHA1 Message Date
Franck Nijhof 1d03313bf5
Remove deprecated YAML configuration from Whois ()
* Remove deprecated YAML configuration from Whois

* Clean up platform schema
2022-02-24 10:03:42 +01:00
Franck Nijhof ce6048e705
Fix missing expiration data in Whois information () 2022-01-31 09:15:13 -08:00
J. Nick Koston 6458e45ef0
Simplify whois value_fn () 2022-01-30 20:19:52 -08:00
J. Nick Koston 62fd31a1e7
Handle missing attrs in whois results ()
* Handle missing attrs in whois results

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

- Fixes 

* 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 () 2022-01-25 18:33:53 +01:00
Franck Nijhof ed924325e3
Add init tests for Whois () 2022-01-25 08:53:34 +01:00
Franck Nijhof 2f25aafb84
Add additional sensors to Whois () 2022-01-24 19:40:36 +01:00
Franck Nijhof d15d081646
Add data update coordinator to Whois ()
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2022-01-24 18:50:07 +01:00
Franck Nijhof 7b93226c6c
Add entity description support to WHOIS integration () 2022-01-24 15:41:35 +01:00
Franck Nijhof 20a277c0ab
Replace whois library in Whois integration () 2022-01-20 11:21:58 +01:00
Franck Nijhof b5300fb32e
Add configuration flow to Whois ()
Co-authored-by: Dave T <17680170+davet2001@users.noreply.github.com>
2021-12-30 22:42:46 +01:00
Franck Nijhof bbb652304e
Introduce const file in Whois () 2021-12-30 09:05:16 +01:00
Franck Nijhof 43dc12b1c8
Add strict typing to Whois () 2021-12-28 21:25:09 +01:00
Milan Meulemans dbe0a801c6
Use _attr_* in whois integration () 2021-12-08 10:58:46 -08:00
Erik Montnemery ae507aeed1
Move temperature conversions to sensor base class (8/8) ()
* Move temperature conversions to entity base class (8/8)

* Fix wallbox sensor

* Fix tests
2021-08-11 21:17:16 +02:00
Konstantin Antselovich c8329032b2
Fix whois expiration date () 2021-06-17 05:57:46 +02:00
Erik Montnemery 0c086b5067
Migrate integrations w-z to extend SensorEntity () 2021-03-22 19:50:29 +01:00
Erik Montnemery 1fc8e32d86
Update integrations t-z to override extra_state_attributes() () 2021-03-11 20:16:26 +01:00
tkdrob 06c8fc6ef1
Use core constants for wemo and whois () 2021-02-14 20:14:48 -05:00
springstan a85808e325
Add and use time related constants ()
* Add and use time related constants

* Sort time constants and reuse them in data rate constants

* Fix greeneyemonitor import

* Fix greeneyemonitor import V2

* Fix failing here_travel_time test

* Add TIME_MONTHS and TIME_YEARS

* Use TIME_MINUTES in opentherm_gw and isy994

* Add and use TIME_MILLISECONDS

* Change inconsistent ones

* Add TIME_MICROSECONDS and TIME_WEEKS

* Use constants in apcupsd and travisci

* Fix import error in upnp sensor.py

* Fix isy994 sensor.py using TIME_YEARS

* Fix dyson tests

* Use TIME_SECONDS in more places

* Use TIME_DAYS in google wifi
2020-02-23 22:09:24 +02:00
Ville Skyttä fb66a6cf81 Treat BaseException as over-general ()
To follow pylint's defaults.
2019-12-06 21:58:32 +01:00
Jacob Mansfield 9571f869d1 Fix whois error, check expiration_date for list and pick first () 2019-10-20 10:07:34 +02:00
Fabian Affolter a9ff15077c Upgrade python-whois to 0.7.2 () 2019-09-21 14:52:46 -04:00
Paulus Schoutsen 4de97abc3a Black 2019-07-31 12:25:30 -07:00
cgtobi 2c07bfb9e0 Remove dependencies and requirements ()
* Remove dependencies and requirements

* Revert "Remove dependencies and requirements"

This reverts commit fe7171b4cd.

* Remove dependencies and requirements

* Revert "Remove dependencies and requirements"

This reverts commit 391355ee2c.

* Remove dependencies and requirements

* Fix flake8 complaints

* Fix more flake8 complaints

* Revert non-component removals
2019-04-12 10:13:30 -07:00
Tobias Sauerwein 048b100eea Clean up docstrings ()
* Clean up docstrings

* Fix long lines

* Fix more docstrings

* Fix more docstrings

* Fix more docstrings
2019-04-03 17:40:03 +02:00
Paulus Schoutsen f5076188ef
Consolidate all platforms that have no tests ()
* Consolidate

* Fix tests

* Update imports

* Fix import

* Use importlib because integration and package share name

* Fix more tests

* Update .coveragerc and CODEOWNERS
2019-03-16 20:44:05 -07:00