Add read-only India iSMART support - #27
Conversation
|
How do you install this to our home assistant ? |
|
@john-lazarus I appreciate the contribution, altough I'd like to mantain a compatible client API if possibile. Do you think that's feasible? |
|
Yes, I think that is feasible. India still needs a different transport internally because its login and status flow are different, but I can adapt it to expose the existing client API and return the existing schema types rather than introducing a parallel public model. My inclination is to keep the India implementation behind the same method contract ( |
Adds a first pass at India iSMART support in a separate
saic_ismart_client_ng.indiamodule.What is included:
mgindia.co.inI have intentionally kept this read-only for now. Remote commands should probably come in a separate PR once the status/login path has had more testing.
Validation run locally:
pytest tests/test_india_api.py -qpytest -q --disable-warningsruff check src/saic_ismart_client_ng/india tests/test_india_api.pypython -m compileall -q src/saic_ismart_client_ng/india tests/test_india_api.pygit diff --checkAll tests pass locally: 33 passed.