Closed dilruacs closed 5 years ago
Home Assistant should work on Python 3.5 according to its installation manual: https://www.home-assistant.io/docs/installation/
From what I find, "type hints" are a feature that is added in Python 3.5
I'm going to change this and I'll change the travis settings to python 3.5.
What is puzzling me is that I have 3.5 installed (see stacktrace)
(homeassistant) homeassistant@hass:~$ python --version
Python 3.5.3
Fixed in 8cc8420 Maybe @schoenpat has a better idea how to solve this :)
@dilruacs i think this feature was added in 3.6, not in 3.5
with "type hints" you probably mean this https://docs.python.org/3/library/typing.html
https://github.com/alexmohr/sonyapilib/blob/f9fa0ce526aff3661b67d2cd7d96d36d7f334ae4/sonyapilib/device.py#L49