whois domain lookup sensor (#10000)
* Init commit of new whois sensor * Updated requirements * Resolved updated showing expired, added expired attr * Added missing attribute in init, added whois to coveragerc * Various PR comment changes - Now more resiliant to invalid hostnames - Removed various assumed STATE_UNKOWN setting - Upfront check for valid hostname preventing the sensor starting with dud - Resolved unit of measurement Day, Days, None issue - Datetime formatting now done to iso 8601 standard - Removed all expired usage, not really that useful - Unused hass assignment * More PR comment resolutions - Resolved the dilemma with hosts / single host per sensor. Now running single domain per sensor. - Renamed host(s) to domain * Moved coveragerc sensor location * Re-phrased the expiration_date warning * Resolved assumed updated_date existence * Resolved missing indent * Resolved discover_info typo * Update whois.py
This commit is contained in:
parent
a4b0e8f897
commit
485e81db79
5 changed files with 144 additions and 0 deletions
|
@ -78,6 +78,7 @@ TEST_REQUIREMENTS = (
|
|||
'uvcclient',
|
||||
'warrant',
|
||||
'yahoo-finance',
|
||||
'pythonwhois'
|
||||
)
|
||||
|
||||
IGNORE_PACKAGES = (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue