Improve string formatting v3 (#33667)

* Improve string formatting v3

* Address review comment
This commit is contained in:
springstan 2020-04-05 01:32:58 +02:00 committed by GitHub
parent bf1b408038
commit c20a965eda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 32 additions and 37 deletions

View file

@ -70,5 +70,5 @@ ATTR_SENSOR_TYPE_SENSOR = "sensor"
ATTR_SENSOR_UNIQUE_ID = "unique_id"
ATTR_SENSOR_UOM = "unit_of_measurement"
SIGNAL_SENSOR_UPDATE = DOMAIN + "_sensor_update"
SIGNAL_SENSOR_UPDATE = f"{DOMAIN}_sensor_update"
SIGNAL_LOCATION_UPDATE = DOMAIN + "_location_update_{}"