enkore / i3pystatus

A complete replacement for i3status
https://i3pystatus.readthedocs.io/
MIT License
445 stars 188 forks source link

Add a new module to display charge status of a Tesla #762

Closed drwahl closed 4 years ago

drwahl commented 5 years ago

This module will use the Tesla API to display the charge information for your Tesla vehicle.

terminalmage commented 5 years ago

This breaks CI because Travis doesn't have the tesla_api module installed. It should probably be gated in some way and then an error raised if you try to use the module without tesla_api installed. Or the import could be moved into an init() function.

@enkore What are your thoughts on this?

enkore commented 4 years ago

See https://i3pystatus.readthedocs.io/en/latest/module.html#handling-dependencies

You'd just need to add "tesla_api" to MOCK_MODULES in docs/conf.py

enkore commented 4 years ago

The future is naow.