diff --git a/esphome/components/ble_client/__init__.py b/esphome/components/ble_client/__init__.py index e7e96b6da56..37db181584b 100644 --- a/esphome/components/ble_client/__init__.py +++ b/esphome/components/ble_client/__init__.py @@ -172,9 +172,7 @@ BLE_REMOVE_BOND_ACTION_SCHEMA = cv.Schema( @automation.register_action( - "ble_client.disconnect", - BLEDisconnectAction, - BLE_CONNECT_ACTION_SCHEMA, + "ble_client.disconnect", BLEDisconnectAction, BLE_CONNECT_ACTION_SCHEMA ) async def ble_disconnect_to_code(config, action_id, template_arg, args): parent = await cg.get_variable(config[CONF_ID]) @@ -182,9 +180,7 @@ async def ble_disconnect_to_code(config, action_id, template_arg, args): @automation.register_action( - "ble_client.connect", - BLEConnectAction, - BLE_CONNECT_ACTION_SCHEMA, + "ble_client.connect", BLEConnectAction, BLE_CONNECT_ACTION_SCHEMA ) async def ble_connect_to_code(config, action_id, template_arg, args): parent = await cg.get_variable(config[CONF_ID]) @@ -192,9 +188,7 @@ async def ble_connect_to_code(config, action_id, template_arg, args): @automation.register_action( - "ble_client.ble_write", - BLEWriteAction, - BLE_WRITE_ACTION_SCHEMA, + "ble_client.ble_write", BLEWriteAction, BLE_WRITE_ACTION_SCHEMA ) async def ble_write_to_code(config, action_id, template_arg, args): parent = await cg.get_variable(config[CONF_ID])