Make general code quality improvements in the Broadlink integration (#58848)
* Create DEVICE_TYPES constant * Rename _auth_fetch_firmware() to _get_firmware_version() * Rename dev_type to device_type * Use SOURCE_REAUTH from config_entries namespace * Fix unidiomatic imports
This commit is contained in:
parent
adfebaf510
commit
3f61ff4f96
5 changed files with 20 additions and 22 deletions
|
@ -3,7 +3,7 @@ from base64 import b64decode
|
|||
|
||||
from homeassistant import config_entries
|
||||
from homeassistant.const import CONF_HOST
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
from homeassistant.helpers import config_validation as cv
|
||||
|
||||
from .const import DOMAIN
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue