esphome/esphome/legacy.py
Otto Winter 056c72d50d
Drop Python 2 Support (#793)
* Remove Python 2 support

* Remove u-strings

* Remove docker symlinks

* Remove from travis

* Update requirements

* Upgrade flake8/pylint

* Fixes

* Manual

* Run pyupgrade

* Lint

* Remove base_int

* Fix

* Update platformio_api.py

* Update component.cpp
2019-12-07 18:28:55 +01:00

12 lines
225 B
Python

import sys
def main():
print("The esphomeyaml command has been renamed to esphome.")
print("")
print("$ esphome {}".format(' '.join(sys.argv[1:])))
return 1
if __name__ == "__main__":
sys.exit(main())