Make CoolMasterNet integration async (#38643)

* make CoolMasteNet integration async

* Apply suggestions from code review

Co-authored-by: Chris Talkington <chris@talkingtontech.com>

* Minor post-review tweaks

* Apply suggestions from code review

* Update homeassistant/components/coolmaster/__init__.py

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
This commit is contained in:
On Freund 2020-08-09 21:08:07 +03:00 committed by GitHub
parent 597d1e2799
commit 96d48c309f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 144 additions and 80 deletions

View file

@ -9,6 +9,9 @@ from homeassistant.components.climate.const import (
HVAC_MODE_OFF,
)
DATA_INFO = "info"
DATA_COORDINATOR = "coordinator"
DOMAIN = "coolmaster"
DEFAULT_PORT = 10102