Use f-strings in integrations starting with "A" (#32110)

* Use f-strings in integrations starting with A

* Use f-strings in tests for integrations starting with A

* Fix pylint by renaming variable

* Fix nested for loop in f-string for aprs device_tracker

* Break long lines into multiple short lines

* Break long lines into multiple short lines v2
This commit is contained in:
springstan authored and GitHub committed 2020-02-23 13:38:05 -08:00
1 parent a85808e325
commit 524a1a7587
48 files changed
+162 -229

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@ TEST_NOACK = [
None,
None,
]
ENTITY_ID = alert.ENTITY_ID_FORMAT.format(NAME)
ENTITY_ID = f"{alert.DOMAIN}.{NAME}"
def turn_on(hass, entity_id):