Upgrade black to 20.8b1 (#39287)
This commit is contained in:
parent
0d7eec710c
commit
1c2ebdf307
574 changed files with 4389 additions and 1725 deletions
|
@ -93,7 +93,10 @@ class TriggerInstance:
|
|||
if self.remove:
|
||||
self.remove()
|
||||
self.remove = await mqtt_trigger.async_attach_trigger(
|
||||
self.trigger.hass, mqtt_config, self.action, self.automation_info,
|
||||
self.trigger.hass,
|
||||
mqtt_config,
|
||||
self.action,
|
||||
self.automation_info,
|
||||
)
|
||||
|
||||
|
||||
|
@ -256,7 +259,10 @@ async def async_device_removed(hass: HomeAssistant, device_id: str):
|
|||
clear_discovery_hash(hass, discovery_hash)
|
||||
device_trigger.remove_signal()
|
||||
mqtt.publish(
|
||||
hass, discovery_topic, "", retain=True,
|
||||
hass,
|
||||
discovery_topic,
|
||||
"",
|
||||
retain=True,
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue