Closed mark-ignacio closed 1 year ago
Will open a replacement PR since it looks like the subclass thing was a bad idea due to downstream class usage and the website loads up the domain using an API call after login - so rewriting to make the existing Evergy class do that instead.
It looks like Evergy uses
kcpk
for customers in Kansas andkcpl
for customers in Missouri.First commit does a bit of refactoring to separate them into
EvergyKS
andEvergyMO
subclasses of a new__EvergyBase
parent class. Second commit hides__evergybase
as an option from demo.py:Demo output: