Commit graph

15 commits

Author SHA1 Message Date
epenet
097ba07f20
Use new reauth helpers in pi_hole (#128715) 2024-10-19 10:34:40 +02:00
Marc Mueller
988c71ecc5
Add empty line after module docstring [n-q] (#112702) 2024-03-08 15:04:07 +01:00
Erik Montnemery
e0c1feb22c
Migrate integrations n-r to generic flowhandler (#111864) 2024-02-29 20:09:01 +01:00
Michael
e1512fd3e1
Support password less PI-Hole installations (#86184)
fixes undefined
2023-01-20 13:02:44 +01:00
Michael
ee3ab45012
Make API key mandatory for PI-Hole (#85264)
* add reauth flow

* adjust tests

* use constant for platforms

* remove not needed async_get_entry()

* fix typo

* user _async_abort_entries_match()

* don't use CONF_ prefix for config dicts

* sort PLATFORMS

* use entry_data in reauth flow
2023-01-07 12:22:36 +01:00
Michael
bcbae1388d
Remove deprecated PI-Hole YAML config (#84803) 2023-01-02 10:57:16 +01:00
Raman Gupta
aa013fa8f6
Add CONF_LOCATION constant (#68474)
* Add CONF_LOCATION constant

* Update all custom CONF_LOCATION definitions to point to constant

* remove CONF_LOCATION from homeassistant/components/totalconnect/const
2022-03-26 00:10:54 -04:00
Michael
83989d7b40
Use relative imports [L-R] (#61575) 2021-12-13 00:24:46 +01:00
Franck Nijhof
b32e1d9339
Upgrade hole to 0.7.0 (#60779) 2021-12-01 19:44:42 +01:00
Yuval Aboulafia
39bf304031
Static typing for PiHole (#51681)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-06-22 11:50:50 +02:00
Franck Nijhof
8eb27374c6
Clean up connection classes in integrations P-S (#49893) 2021-04-30 21:04:44 -10:00
Marc Mueller
2956eb0902
Update pylint to 2.7.3 (#48488)
* Update pylint to 2.7.3

* Add class-const-naming-style

* Remove unused-import message

* Additional cleanup
2021-03-29 18:02:56 -10:00
Xiaonan Shen
7a01d33814
Add empty password support to pi-hole (#37958) 2021-01-20 16:40:23 +01:00
Xiaonan Shen
394194d1e6
Add switch to pi_hole integration (#35605)
Co-authored-by: Ian <vividboarder@gmail.com>
2020-07-17 23:19:01 -07:00
Xiaonan Shen
ce99fa8c02
Add config flow to pi_hole integration (#35442)
* Add config flow to pi-hole

* Add config flow tests

* Change PlatformNotReady to ConfigEntryNotReady

* Improve config flow

* Add @shenxn as codeowner

* Use entity_id as unique id

* Remove .get with [] for required fields

* Remove unique id from config flow

* Replace some strings with references

* Fix api_key string

* Fix service api_key check

* Remove unused DuplicatedNameException
2020-05-13 09:25:06 -04:00