elric91 / homeassistant_zigate

Custom components for Home Assistant
MIT License
22 stars 5 forks source link

Update async_ usage (for Home Assistant 0.66+) #18

Closed alexbarcelo closed 6 years ago

alexbarcelo commented 6 years ago

This should workd for Home Assistant 0.66+ onwards, but keeping backwards compatibility.

Note that there is an extra workaround to avoid async completely, as it will give syntax error under Python 3.7. This should future-proof the import.

Solves #17

mvdkleijn commented 6 years ago

@elric91 any love for this? I'd hate to be wrong when I said in the forums that this component is not dead